mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 19:00:47 +00:00
Remove the redundant ApiInfo property
This commit is contained in:
@@ -81,8 +81,8 @@ namespace Octokit.Tests.Http
|
||||
Substitute.For<IJsonSerializer>());
|
||||
|
||||
var resp = await connection.GetResponse<string>(new Uri("endpoint", UriKind.Relative));
|
||||
Assert.NotNull(resp.ApiInfo);
|
||||
Assert.Equal("user", resp.ApiInfo.AcceptedOauthScopes.First());
|
||||
Assert.NotNull(resp.HttpResponse.ApiInfo);
|
||||
Assert.Equal("user", resp.HttpResponse.ApiInfo.AcceptedOauthScopes.First());
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user