fix: fixed tests

This commit is contained in:
MrGadget 2024-07-11 15:10:44 -04:00
parent 90afea0c57
commit 5a3c274ed8
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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));