Fix station events system test

This commit is contained in:
DrSmugleaf
2020-10-14 23:15:49 +02:00
parent f8f1d24e28
commit 500ed7d236

View File

@@ -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();
}
}
}
}