mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Tests: NetworkManagerStopHostOnServerDisconnectTest uses MemoryTransport now
This commit is contained in:
parent
1d6b33c49b
commit
88e160a5f7
@ -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>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user