mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-15 05:12:45 +01:00
Updated Using WireMock in UnitTests (markdown)
1 parent
100829b908
commit
bcda3d006d
1 file changed
+2
-2
@@ -31,8 +31,8 @@ public async void Should_respond_to_request()
|
||||
// then
|
||||
Check.That(response).IsEqualTo(EXPECTED_RESULT);
|
||||
|
||||
// and optionnaly
|
||||
Check.That(_server.SearchLogsFor(Request.WithUrl("/error*")).IsEmpty();
|
||||
// and optionally
|
||||
Check.That(_server.FindLogEntries(Request.WithUrl("/error*")).IsEmpty();
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
|
||||
Reference in new issue
Block a user