This commit is contained in:
vis2k 2021-05-13 12:58:42 +08:00
parent 46dce930fb
commit 74297fd7fb

View File

@ -179,7 +179,6 @@ public void OnDisconnectedEventCalled()
[Test]
public void ConnectionsDict()
{
// listen
NetworkServer.Listen(2);
Assert.That(NetworkServer.connections.Count, Is.EqualTo(0));
@ -211,7 +210,6 @@ public void OnConnectedOnlyAllowsNonZeroConnectionIds()
// 0 is for local player
// <0 is never used
// listen
NetworkServer.Listen(2);
Assert.That(NetworkServer.connections.Count, Is.EqualTo(0));
@ -231,7 +229,6 @@ public void OnConnectedOnlyAllowsNonZeroConnectionIds()
[Test]
public void ConnectDuplicateConnectionIds()
{
// listen
NetworkServer.Listen(2);
Assert.That(NetworkServer.connections.Count, Is.EqualTo(0));