Removes StateHelper!! Adds a few cookie extensions and http extensions to more easily replace.
This commit is contained in:
@@ -51,9 +51,7 @@ namespace Umbraco.Tests.Cache.PublishedCache
|
||||
base.Initialize();
|
||||
|
||||
_httpContextFactory = new FakeHttpContextFactory("~/Home");
|
||||
//ensure the StateHelper is using our custom context
|
||||
StateHelper.HttpContext = _httpContextFactory.HttpContext;
|
||||
|
||||
|
||||
var settings = SettingsForTests.GenerateMockSettings();
|
||||
|
||||
SettingsForTests.ConfigureSettings(settings);
|
||||
|
||||
Reference in New Issue
Block a user