diff --git a/Assets/Mirror/Tests/Editor/NetworkServerTest.cs b/Assets/Mirror/Tests/Editor/NetworkServerTest.cs index 8876f59a4..d8935595a 100644 --- a/Assets/Mirror/Tests/Editor/NetworkServerTest.cs +++ b/Assets/Mirror/Tests/Editor/NetworkServerTest.cs @@ -120,11 +120,8 @@ public void OnConnectedEventCalled() bool connectCalled = false; NetworkServer.OnConnectedEvent = conn => connectCalled = true; - // listen + // listen & connect NetworkServer.Listen(1); - Assert.That(connectCalled, Is.False); - - // connect transport.OnServerConnected.Invoke(42); Assert.That(connectCalled, Is.True); }