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

@@ -391,11 +391,7 @@ namespace Umbraco.Tests.TestHelpers
var factory = routeData != null
? new FakeHttpContextFactory(url, routeData)
: new FakeHttpContextFactory(url);
//set the state helper
StateHelper.HttpContext = factory.HttpContext;
return factory;
}