Move Web.Current to Composing
This commit is contained in:
@@ -12,7 +12,7 @@ using Umbraco.Tests.TestHelpers.Stubs;
|
||||
using Umbraco.Web;
|
||||
using Umbraco.Web.Routing;
|
||||
using Umbraco.Web.Security;
|
||||
using Current = Umbraco.Web.Current;
|
||||
using Current = Umbraco.Web.Composing.Current;
|
||||
|
||||
namespace Umbraco.Tests.Testing.TestingTests
|
||||
{
|
||||
|
||||
@@ -171,7 +171,7 @@ namespace Umbraco.Tests.Testing
|
||||
{
|
||||
// imported from TestWithSettingsBase
|
||||
// which was inherited by TestWithApplicationBase so pretty much used everywhere
|
||||
Umbraco.Web.Current.UmbracoContextAccessor = new TestUmbracoContextAccessor();
|
||||
Umbraco.Web.Composing.Current.UmbracoContextAccessor = new TestUmbracoContextAccessor();
|
||||
}
|
||||
|
||||
protected virtual void ComposeCacheHelper()
|
||||
|
||||
Reference in New Issue
Block a user