Removes StateHelper!! Adds a few cookie extensions and http extensions to more easily replace.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user