mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-30 09:14:40 +08:00
Fix unit tests
--HG-- branch : dev
This commit is contained in:
parent
477405bd3c
commit
3d9d7d7fc9
@ -61,6 +61,7 @@ namespace Orchard.Tests.Modules.Users.Controllers {
|
||||
builder.RegisterType<ShapeHelperFactory>().As<IShapeHelperFactory>();
|
||||
builder.RegisterType<StubExtensionManager>().As<IExtensionManager>();
|
||||
builder.RegisterInstance(new Mock<INotifier>().Object);
|
||||
builder.RegisterInstance(new Mock<IContentDisplay>().Object);
|
||||
_authorizer = new Mock<IAuthorizer>();
|
||||
builder.RegisterInstance(_authorizer.Object);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user