-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the PushResponseFilter with an email property and updated the…
… GetPushes method to work with the additional property. Signed-off-by: Adam Yeager <[email protected]>
- Loading branch information
1 parent
01ff576
commit 298ecec
Showing
4 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -326,5 +326,23 @@ public void GetPushesAllWithCursor() | |
Assert.Fail(ex.Message); | ||
} | ||
} | ||
|
||
[TestMethod] | ||
public void GatAllPushesByEmail() | ||
{ | ||
try | ||
{ | ||
var filter = new PushResponseFilter() | ||
{ | ||
Email = "[email protected]" | ||
}; | ||
|
||
var results = Client.GetPushes(filter); | ||
} | ||
catch (Exception ex) | ||
{ | ||
Assert.Fail(ex.Message); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters