diff --git a/Assets/Mirror/Tests/Editor/NetworkServerTest.cs b/Assets/Mirror/Tests/Editor/NetworkServerTest.cs index af4f02564..ee79d02d9 100644 --- a/Assets/Mirror/Tests/Editor/NetworkServerTest.cs +++ b/Assets/Mirror/Tests/Editor/NetworkServerTest.cs @@ -1081,7 +1081,9 @@ public void ShutdownCleanupTest() [Test] public void ResetTest() { +#pragma warning disable CS0618 // Type or member is obsolete NetworkServer.Reset(); +#pragma warning restore CS0618 // Type or member is obsolete Assert.That(NetworkServer.active, Is.False); } } diff --git a/Assets/Mirror/Tests/Runtime/HostSetup.cs b/Assets/Mirror/Tests/Runtime/HostSetup.cs index 85cef8093..1e4d32554 100644 --- a/Assets/Mirror/Tests/Runtime/HostSetup.cs +++ b/Assets/Mirror/Tests/Runtime/HostSetup.cs @@ -31,10 +31,6 @@ public IEnumerator SetupHost() yield return null; manager.StartHost(); - - yield return null; - - NetworkClient.Update(); } [TearDown]