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