mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Tests: remove redundant NetworkServer.Shutdowns
This commit is contained in:
parent
6e7d71b9d3
commit
52ee9408b1
@ -69,9 +69,6 @@ public override void TearDown()
|
||||
// we have no real clients.
|
||||
NetworkServer.connections.Clear();
|
||||
|
||||
// stop server
|
||||
NetworkServer.Shutdown();
|
||||
|
||||
base.TearDown();
|
||||
}
|
||||
|
||||
|
@ -747,9 +747,6 @@ public void SendToClientOfPlayer()
|
||||
|
||||
// was it send to and handled by the connection?
|
||||
Assert.That(called, Is.EqualTo(1));
|
||||
|
||||
// clean up
|
||||
NetworkServer.Shutdown();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -22,10 +22,6 @@ public override IEnumerator UnitySetUp()
|
||||
[UnityTearDown]
|
||||
public override IEnumerator UnityTearDown()
|
||||
{
|
||||
if (NetworkServer.active)
|
||||
{
|
||||
NetworkServer.Shutdown();
|
||||
}
|
||||
yield return base.UnityTearDown();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user