mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 04:16:51 +00:00
@@ -69,8 +69,7 @@ namespace Octokit.Tests.Clients
|
||||
|
||||
client.GetLatest("fake", "repo");
|
||||
|
||||
connection.Received().Get<Release>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/releases/latest"),
|
||||
null);
|
||||
connection.Received().Get<Release>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/releases/latest"));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
client.GetLatest("fake", "repo");
|
||||
|
||||
gitHubClient.Release.Received(1).GetLatest("fake", "repo");
|
||||
gitHubClient.Repository.Release.Received(1).GetLatest("fake", "repo");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user