Skip to content

Commit

Permalink
fix unit tests for token replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-litescu committed Jun 12, 2020
1 parent 825b997 commit ce91012
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information

using DotNetNuke.ComponentModel;
using DotNetNuke.Entities.Controllers;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Entities.Modules.Actions;
Expand All @@ -28,6 +29,7 @@ public class TokenReplaceTests
[SetUp]
public void SetUp()
{
ComponentFactory.RegisterComponentInstance<TokenProvider>(new CoreTokenProvider());
this._mockCache = MockComponentProvider.CreateDataCacheProvider();
this._mockHostController = new Mock<IHostController>();
this._portalController = new Mock<IPortalController>();
Expand Down

0 comments on commit ce91012

Please sign in to comment.