mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
3a3a726059
commit
46dce930fb
@ -127,7 +127,6 @@ public void IsActive()
|
||||
[Test]
|
||||
public void MaxConnections()
|
||||
{
|
||||
|
||||
// listen with maxconnections=1
|
||||
NetworkServer.Listen(1);
|
||||
Assert.That(NetworkServer.connections.Count, Is.EqualTo(0));
|
||||
@ -142,7 +141,7 @@ public void MaxConnections()
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void ConnectMessageHandler()
|
||||
public void OnConnectedEventCalled()
|
||||
{
|
||||
// message handlers
|
||||
bool connectCalled = false;
|
||||
@ -158,7 +157,7 @@ public void ConnectMessageHandler()
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void DisconnectMessageHandler()
|
||||
public void OnDisconnectedEventCalled()
|
||||
{
|
||||
// message handlers
|
||||
bool disconnectCalled = false;
|
||||
|
Loading…
Reference in New Issue
Block a user