This commit is contained in:
vis2k 2021-05-24 14:55:03 +08:00
parent 3309fa4cc3
commit 7ebb7fafcb

View File

@ -11,7 +11,7 @@ struct TestMessage : NetworkMessage {}
LocalConnectionToServer connectionToServer; LocalConnectionToServer connectionToServer;
[SetUp] [SetUp]
public void SetUpConnections() public void SetUp()
{ {
connectionToServer = new LocalConnectionToServer(); connectionToServer = new LocalConnectionToServer();
connectionToClient = new LocalConnectionToClient(); connectionToClient = new LocalConnectionToClient();
@ -21,7 +21,7 @@ public void SetUpConnections()
} }
[TearDown] [TearDown]
public void Disconnect() public void TearDown()
{ {
connectionToServer.Disconnect(); connectionToServer.Disconnect();
} }