From 4d6738d7f0487ddb4a49ff22bf6d729b01af2386 Mon Sep 17 00:00:00 2001 From: Manoj Attal Date: Fri, 7 May 2021 16:56:04 +0000 Subject: [PATCH] Added the missing attribute --- .../InternalServices/FileUploadControllerTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();