mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 08:33:19 +01:00
Improves TestCommandLinePortSet
This commit is contained in:
@@ -37,11 +37,13 @@ namespace TGServerService.Tests
|
||||
[TestMethod]
|
||||
public void TestCommandLinePortSet()
|
||||
{
|
||||
Properties.Settings.Default.RemoteAccessPort = 11111;
|
||||
using (var S = new ServiceAccessor())
|
||||
{
|
||||
S.FakeStart(new string[] { "-port", "36785" });
|
||||
S.FakeStop();
|
||||
}
|
||||
Assert.AreEqual(Properties.Settings.Default.RemoteAccessPort, 36785);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user