Skip to content

Commit

Permalink
Added the missing attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Manoj Attal committed May 7, 2021
1 parent 78b0695 commit 4d6738d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -54,6 +53,7 @@ public void SetUp()
this.SetupSynchronizationContext();
}

[TearDown]
public void TearDown()
{
PortalController.ClearInstance();
Expand Down Expand Up @@ -101,7 +101,7 @@ private void SetupServiceProvider()
{
var serviceCollection = new ServiceCollection();
serviceCollection.AddTransient<IApplicationStatusInfo>(
container => new Application.ApplicationStatusInfo(Mock.Of<IApplicationInfo>()));
container => new Application.ApplicationStatusInfo(Mock.Of<IApplicationInfo>()));
serviceCollection.AddTransient(container => Mock.Of<INavigationManager>());
serviceCollection.AddTransient(container => Mock.Of<IEventLogger>());
Globals.DependencyProvider = serviceCollection.BuildServiceProvider();
Expand Down

0 comments on commit 4d6738d

Please # to comment.