Remove the redundant ApiInfo property

This commit is contained in:
Haacked
2015-01-02 00:25:18 -08:00
parent 4653e798a7
commit 6c05651d64
5 changed files with 55 additions and 8 deletions
+2 -2
View File
@@ -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]