using MemoryTransport to make test more stable (#1770)

This commit is contained in:
James Frowen 2020-04-23 17:41:15 +01:00 committed by GitHub
parent 7f8733ce6a
commit c1bacc345c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
using NUnit.Framework;
using NUnit.Framework;
using UnityEngine;
namespace Mirror.Tests
@ -13,6 +13,7 @@ public class NetworkManagerTest
public void SetupNetworkManager()
{
gameObject = new GameObject();
gameObject.AddComponent<MemoryTransport>();
manager = gameObject.AddComponent<NetworkManager>();
}