This commit is contained in:
Stef Heyenrath
2018-09-04 22:50:17 +02:00
committed by GitHub
parent 666e1ab1b8
commit 41fd1ef99d
5 changed files with 80 additions and 19 deletions

View File

@@ -48,15 +48,15 @@ namespace WireMock.Net.Tests
[Fact]
public void FluentMockServer_Admin_StartStop()
{
var server1 = FluentMockServer.Start("http://localhost:9091");
var server1 = FluentMockServer.Start("http://localhost:19091");
Check.That(server1.Urls[0]).Equals("http://localhost:9091");
Check.That(server1.Urls[0]).Equals("http://localhost:19091");
server1.Stop();
var server2 = FluentMockServer.Start("http://localhost:9091/");
var server2 = FluentMockServer.Start("http://localhost:19091/");
Check.That(server2.Urls[0]).Equals("http://localhost:9091/");
Check.That(server2.Urls[0]).Equals("http://localhost:19091/");
server2.Stop();
}