mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-19 15:18:24 +01:00
HttpListener : Stop fix
This commit is contained in:
1 parent
9fcfb3109f
commit
e9ee4e91f9
6 files changed
+41
-14
No files matched your search
@@ -25,7 +25,7 @@ namespace WireMock.Net.Tests.Http
|
||||
var port = PortUtil.FindFreeTcpPort();
|
||||
bool called = false;
|
||||
var urlPrefix = "http://localhost:" + port + "/";
|
||||
var server = new TinyHttpServer(ctx => called = true, urlPrefix);
|
||||
var server = new TinyHttpServer((ctx, token) => called = true, urlPrefix);
|
||||
server.Start();
|
||||
|
||||
// when
|
||||
|
||||
Reference in new issue
Block a user