mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 11:05:56 +00:00
New unit and integration tests were added in order to test IObservable<EmailAddress> GetAll(ApiOptions options) method.
This commit is contained in:
@@ -17,5 +17,16 @@ namespace Octokit.Tests.Integration
|
||||
var email = await client.GetAll();
|
||||
Assert.NotNull(email);
|
||||
}
|
||||
|
||||
[IntegrationTest]
|
||||
public async Task CanGetEmailWithApiOptions()
|
||||
{
|
||||
var github = Helper.GetAuthenticatedClient();
|
||||
|
||||
var client = new ObservableUserEmailsClient(github);
|
||||
|
||||
var email = await client.GetAll(ApiOptions.None);
|
||||
Assert.NotNull(email);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user