mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Tests: ConnectHostClientBlocking() now connects local server too. otherwise NetworkServer.localConnection isn't added to NetworkServer.Connections.
This commit is contained in:
parent
2c85cfbd06
commit
2d2ea64d8a
@ -192,7 +192,9 @@ protected void ConnectClientBlockingAuthenticatedAndReady(out NetworkConnectionT
|
||||
protected void ConnectHostClientBlocking()
|
||||
{
|
||||
NetworkClient.ConnectHost();
|
||||
NetworkClient.ConnectLocalServer();
|
||||
UpdateTransport();
|
||||
Assert.That(NetworkServer.connections.Count, Is.EqualTo(1));
|
||||
}
|
||||
|
||||
// fully connect client to local server & authenticate & set read
|
||||
|
Loading…
Reference in New Issue
Block a user