Fix station events system test
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Content.IntegrationTests.Tests.StationEvents
|
|||||||
public async Task Test()
|
public async Task Test()
|
||||||
{
|
{
|
||||||
var server = StartServerDummyTicker();
|
var server = StartServerDummyTicker();
|
||||||
|
|
||||||
server.Assert(() =>
|
server.Assert(() =>
|
||||||
{
|
{
|
||||||
// Idle each event once
|
// Idle each event once
|
||||||
@@ -28,8 +28,8 @@ namespace Content.IntegrationTests.Tests.StationEvents
|
|||||||
stationEvent.Shutdown();
|
stationEvent.Shutdown();
|
||||||
Assert.That(stationEvent.Occurrences == 1);
|
Assert.That(stationEvent.Occurrences == 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
stationEventsSystem.ResettingCleanup();
|
stationEventsSystem.Reset();
|
||||||
|
|
||||||
foreach (var stationEvent in stationEventsSystem.StationEvents)
|
foreach (var stationEvent in stationEventsSystem.StationEvents)
|
||||||
{
|
{
|
||||||
@@ -40,4 +40,4 @@ namespace Content.IntegrationTests.Tests.StationEvents
|
|||||||
await server.WaitIdleAsync();
|
await server.WaitIdleAsync();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user