Tests: NetworkManagerStopHostOnServerDisconnectTest uses MemoryTransport now

This commit is contained in:
vis2k 2020-10-30 13:42:27 +01:00
parent 1d6b33c49b
commit 88e160a5f7

View File

@ -14,11 +14,13 @@ public class NetworkManagerStopHostOnServerDisconnectTest
{ {
GameObject gameObject; GameObject gameObject;
NetworkManagerOnServerDisconnect manager; NetworkManagerOnServerDisconnect manager;
MemoryTransport transport;
[SetUp] [SetUp]
public void SetUp() public void SetUp()
{ {
gameObject = new GameObject(); gameObject = new GameObject();
transport = gameObject.AddComponent<MemoryTransport>();
manager = gameObject.AddComponent<NetworkManagerOnServerDisconnect>(); manager = gameObject.AddComponent<NetworkManagerOnServerDisconnect>();
} }