diff --git a/tests/Tgstation.Server.Tests/IntegrationTest.cs b/tests/Tgstation.Server.Tests/IntegrationTest.cs index bc8eb4ccc6..eab8583aa3 100644 --- a/tests/Tgstation.Server.Tests/IntegrationTest.cs +++ b/tests/Tgstation.Server.Tests/IntegrationTest.cs @@ -20,7 +20,7 @@ namespace Tgstation.Server.Tests [TestMethod] public async Task FullMonty() { - using (var server = new TestingServer()) + var server = new TestingServer(); using (var serverCts = new CancellationTokenSource()) { var cancellationToken = serverCts.Token; diff --git a/tests/Tgstation.Server.Tests/TestingServer.cs b/tests/Tgstation.Server.Tests/TestingServer.cs index c57637f7b3..273bd6c72a 100644 --- a/tests/Tgstation.Server.Tests/TestingServer.cs +++ b/tests/Tgstation.Server.Tests/TestingServer.cs @@ -55,7 +55,6 @@ namespace Tgstation.Server.Tests public void Dispose() { - realServer.Dispose(); System.IO.Directory.Delete(Directory, true); }