mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fix unit tests
--HG-- branch : dev
This commit is contained in:
@@ -19,6 +19,7 @@ using Orchard.Environment.ShellBuilders;
|
|||||||
using Orchard.Environment.Descriptor;
|
using Orchard.Environment.Descriptor;
|
||||||
using Orchard.Environment.Descriptor.Models;
|
using Orchard.Environment.Descriptor.Models;
|
||||||
using Orchard.FileSystems.AppData;
|
using Orchard.FileSystems.AppData;
|
||||||
|
using Orchard.FileSystems.VirtualPath;
|
||||||
using Orchard.Mvc;
|
using Orchard.Mvc;
|
||||||
using Orchard.Mvc.ModelBinders;
|
using Orchard.Mvc.ModelBinders;
|
||||||
using Orchard.Mvc.Routes;
|
using Orchard.Mvc.Routes;
|
||||||
@@ -54,6 +55,7 @@ namespace Orchard.Tests.Environment {
|
|||||||
builder.RegisterType<ModelBinderPublisher>().As<IModelBinderPublisher>();
|
builder.RegisterType<ModelBinderPublisher>().As<IModelBinderPublisher>();
|
||||||
builder.RegisterType<ShellContextFactory>().As<IShellContextFactory>();
|
builder.RegisterType<ShellContextFactory>().As<IShellContextFactory>();
|
||||||
builder.RegisterType<StubExtensionManager>().As<IExtensionManager>();
|
builder.RegisterType<StubExtensionManager>().As<IExtensionManager>();
|
||||||
|
builder.RegisterType<StubVirtualPathMonitor>().As<IVirtualPathMonitor>();
|
||||||
builder.RegisterInstance(appDataFolder).As<IAppDataFolder>();
|
builder.RegisterInstance(appDataFolder).As<IAppDataFolder>();
|
||||||
builder.RegisterInstance(_controllerBuilder);
|
builder.RegisterInstance(_controllerBuilder);
|
||||||
builder.RegisterInstance(_routeCollection);
|
builder.RegisterInstance(_routeCollection);
|
||||||
|
|||||||
Reference in New Issue
Block a user