From 5a3c274ed833cb227d38caed5915ed39f3cb1542 Mon Sep 17 00:00:00 2001 From: MrGadget <9826063+MrGadget1024@users.noreply.github.com> Date: Thu, 11 Jul 2024 15:10:44 -0400 Subject: [PATCH] fix: fixed tests --- .../Editor/InterestManagement/InterestManagementTests_Common.cs | 2 +- .../Mirror/Tests/Editor/Transports/MiddlewareTransportTest.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Mirror/Tests/Editor/InterestManagement/InterestManagementTests_Common.cs b/Assets/Mirror/Tests/Editor/InterestManagement/InterestManagementTests_Common.cs index a3ccb6f4b..a24d6f729 100644 --- a/Assets/Mirror/Tests/Editor/InterestManagement/InterestManagementTests_Common.cs +++ b/Assets/Mirror/Tests/Editor/InterestManagement/InterestManagementTests_Common.cs @@ -29,7 +29,7 @@ public override void SetUp() // B CreateNetworked(out gameObjectB, out identityB); - connectionB = new NetworkConnectionToClient(0x0B); + connectionB = new NetworkConnectionToClient(0x0B, ""); connectionB.isAuthenticated = true; connectionB.isReady = true; connectionB.identity = identityB; diff --git a/Assets/Mirror/Tests/Editor/Transports/MiddlewareTransportTest.cs b/Assets/Mirror/Tests/Editor/Transports/MiddlewareTransportTest.cs index 858e1050e..56f33eb7b 100644 --- a/Assets/Mirror/Tests/Editor/Transports/MiddlewareTransportTest.cs +++ b/Assets/Mirror/Tests/Editor/Transports/MiddlewareTransportTest.cs @@ -298,7 +298,7 @@ public void TestClientExceptionCallback() public void TestServerConnectedCallback(int id, string remoteClientAddress) { int called = 0; - middleware.OnServerConnectedWithAddress = (i, remoteClientAddress) => + middleware.OnServerConnectedWithAddress = (i, clientAddress) => { called++; Assert.That(i, Is.EqualTo(id));