mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 03:55:55 +00:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user