Improves TestCommandLinePortSet

This commit is contained in:
Cyberboss
2017-11-06 12:15:01 -05:00
parent d469a12524
commit 267759491c
+2
View File
@@ -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);
}
}
}