From b64ebcc737bb6c9457592a7f002b9901e270b1d6 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Mon, 28 May 2018 11:40:09 -0400 Subject: [PATCH] Removes unesscessary CancellationTokenSource --- tests/Tgstation.Server.Host.Tests/Core/TestApplication.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/Tgstation.Server.Host.Tests/Core/TestApplication.cs b/tests/Tgstation.Server.Host.Tests/Core/TestApplication.cs index 9bf014af21..8504a9af4e 100644 --- a/tests/Tgstation.Server.Host.Tests/Core/TestApplication.cs +++ b/tests/Tgstation.Server.Host.Tests/Core/TestApplication.cs @@ -18,7 +18,6 @@ namespace Tgstation.Server.Host.Core.Tests var dbName = Path.GetTempFileName(); try { - using (var cts = new CancellationTokenSource()) using (var webHost = WebHost.CreateDefaultBuilder(new string[] { "Database:DatabaseType=Sqlite", "Database:ConnectionString=Data Source=" + dbName }) //force it to use sqlite .UseStartup() .Build()