remove Get<T> extension method and update impacted tests to use correct method, removing the need for

additional nulls in tests
This commit is contained in:
Brendan Forster
2016-01-25 14:57:15 +10:30
parent da45d9ebf6
commit 46d9e1f745
26 changed files with 53 additions and 58 deletions
@@ -30,8 +30,7 @@ namespace Octokit.Tests.Clients
deployKeysClient.Get("user", "repo", 42);
apiConnection.Received().Get<DeployKey>(Arg.Is<Uri>(u => u.ToString() == "repos/user/repo/keys/42"),
null);
apiConnection.Received().Get<DeployKey>(Arg.Is<Uri>(u => u.ToString() == "repos/user/repo/keys/42"));
}
[Fact]