mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
fix: fixed tests
This commit is contained in:
parent
90afea0c57
commit
5a3c274ed8
@ -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;
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user