From b29a76d242e5fa4b5fcf4fddcfeb6eeeaef5133a Mon Sep 17 00:00:00 2001 From: vis2k Date: Sat, 7 Aug 2021 18:45:28 +0800 Subject: [PATCH] add assert just to be sure --- Assets/Mirror/Tests/Editor/NetworkBehaviourTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Mirror/Tests/Editor/NetworkBehaviourTests.cs b/Assets/Mirror/Tests/Editor/NetworkBehaviourTests.cs index e00f46dab..07fffdd45 100644 --- a/Assets/Mirror/Tests/Editor/NetworkBehaviourTests.cs +++ b/Assets/Mirror/Tests/Editor/NetworkBehaviourTests.cs @@ -308,6 +308,7 @@ public void SendCommandInternal_RequiresAuthorityFalse_ForOtherObjectWithoutConn // call command. don't require authority. // the object doesn't have a .connectionToServer (like a scene object) + Assert.That(comp.connectionToServer, Is.Null); comp.CallSendCommandInternal(false); Assert.That(comp.called, Is.EqualTo(1));