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:
Ryan Gribble
2017-07-23 09:03:10 +10:00
committed by GitHub
parent 329ef960ed
commit db74c3b4ad
12 changed files with 80 additions and 73 deletions
@@ -152,7 +152,7 @@ namespace Octokit.Tests.Reactive
client.GetLatest(1);
gitHubClient.Received().Repository.Page.GetLatest(1);
gitHubClient.Repository.Page.Received().GetLatest(1);
}
[Fact]