diff --git a/DNN Platform/Tests/DotNetNuke.Tests.Web/InternalServices/FileUploadControllerTests.cs b/DNN Platform/Tests/DotNetNuke.Tests.Web/InternalServices/FileUploadControllerTests.cs index 0dc804301b0..59d703b6c35 100644 --- a/DNN Platform/Tests/DotNetNuke.Tests.Web/InternalServices/FileUploadControllerTests.cs +++ b/DNN Platform/Tests/DotNetNuke.Tests.Web/InternalServices/FileUploadControllerTests.cs @@ -1,7 +1,6 @@ namespace DotNetNuke.Tests.Web.InternalServices { using System.Data; - using System.Globalization; using System.Linq; using System.Net.Http; using System.Threading; @@ -54,6 +53,7 @@ public void SetUp() this.SetupSynchronizationContext(); } + [TearDown] public void TearDown() { PortalController.ClearInstance(); @@ -101,7 +101,7 @@ private void SetupServiceProvider() { var serviceCollection = new ServiceCollection(); serviceCollection.AddTransient( - container => new Application.ApplicationStatusInfo(Mock.Of())); + container => new Application.ApplicationStatusInfo(Mock.Of())); serviceCollection.AddTransient(container => Mock.Of()); serviceCollection.AddTransient(container => Mock.Of()); Globals.DependencyProvider = serviceCollection.BuildServiceProvider();