Fix unit tests

--HG--
branch : dev
This commit is contained in:
Renaud Paquay 2010-10-14 15:40:07 -07:00
parent 477405bd3c
commit 3d9d7d7fc9

View File

@ -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);
}