Skip to content

Commit

Permalink
fix unit test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
fszlin committed Dec 22, 2016
1 parent 04cb7f2 commit 58ff643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Certes.Tests/AcmeClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public async Task CanCreateRegistration()
Assert.Equal(tos, account.GetTermsOfServiceUri());
}

mock.Protected().Verify("Dispose", Times.Once(), true);
mock.Protected().Verify("Dispose", Times.Never(), true);
}

[Fact]
Expand Down Expand Up @@ -128,7 +128,7 @@ public async Task CanUpdateRegistration()
Assert.Equal(regLocation, account.Location);
}

mock.Protected().Verify("Dispose", Times.Once(), true);
mock.Protected().Verify("Dispose", Times.Never(), true);
}

private async Task<T> ParsePayload<T>(HttpRequestMessage message)
Expand Down

0 comments on commit 58ff643

Please sign in to comment.