mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-08 04:40:54 +00:00
Fix async tests (#1631)
* Fix up Assert.ThrowsAsync tests to actually await the call * ... and it even picked up a missing null check... pay day!
This commit is contained in:
@@ -152,7 +152,7 @@ namespace Octokit.Tests.Reactive
|
||||
|
||||
client.GetLatest(1);
|
||||
|
||||
gitHubClient.Received().Repository.Page.GetLatest(1);
|
||||
gitHubClient.Repository.Page.Received().GetLatest(1);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user