diff --git a/tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs b/tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs index 4cbfc16d8e..2ded32628b 100644 --- a/tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs +++ b/tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs @@ -43,12 +43,12 @@ namespace Tgstation.Server.Host.Service.Tests using (var service = new ServerService(mockWatchdogFactory.Object, mockLoggerFactory, default)) { onStart.Invoke(service, new object[] { args }); + mockWatchdog.VerifyAll(); Assert.IsFalse(cancellationToken.IsCancellationRequested); onStop.Invoke(service, Array.Empty()); Assert.IsTrue(cancellationToken.IsCancellationRequested); - mockWatchdog.VerifyAll(); } mockWatchdogFactory.VerifyAll();