/__admin/requests/find

This commit is contained in:
Stef Heyenrath
2017-02-15 18:04:18 +01:00
parent 571f434b9a
commit 3112054f59
3 changed files with 88 additions and 51 deletions

View File

@@ -167,7 +167,7 @@ namespace WireMock.Net.Tests
await new HttpClient().GetAsync("http://localhost:" + _server.Ports[0] + "/bar");
// then
var result = _server.SearchLogsFor(Request.Create().WithPath(new RegexMatcher("^/b.*"))).ToList();
var result = _server.FindLogEntries(Request.Create().WithPath(new RegexMatcher("^/b.*"))).ToList();
Check.That(result).HasSize(1);
var requestLogged = result.First();