Removes StateHelper!! Adds a few cookie extensions and http extensions to more easily replace.

This commit is contained in:
Shannon
2016-03-16 14:59:21 +01:00
parent cbb06dcfe1
commit 2cc709c460
16 changed files with 147 additions and 641 deletions

View File

@@ -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);