Fixing more UT

--HG--
branch : dev
This commit is contained in:
Andre Rodrigues
2010-10-14 11:26:42 -07:00
parent 5eefacfb10
commit 1e5ef6fc3e
8 changed files with 10 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ namespace Orchard.Core.Tests.Body {
builder.RegisterType<DefaultContentQuery>().As<IContentQuery>();
builder.RegisterType<BodyPartHandler>().As<IContentHandler>();
builder.RegisterType<StubExtensionManager>().As<IExtensionManager>();
builder.RegisterType<DefaultContentDisplay>().As<IContentDisplay>();
}
[Test]

View File

@@ -49,6 +49,7 @@ namespace Orchard.Core.Tests.Common.Providers {
builder.RegisterType<DefaultShapeFactory>().As<IShapeFactory>();
builder.RegisterType<ShapeHelperFactory>().As<IShapeHelperFactory>();
builder.RegisterType<StubExtensionManager>().As<IExtensionManager>();
builder.RegisterType<DefaultContentDisplay>().As<IContentDisplay>();
_authn = new Mock<IAuthenticationService>();
_authz = new Mock<IAuthorizationService>();

View File

@@ -59,6 +59,7 @@ namespace Orchard.Core.Tests.Routable.Services {
builder.RegisterType<RoutePartHandler>().As<IContentHandler>();
builder.RegisterType<StubExtensionManager>().As<IExtensionManager>();
builder.RegisterType<DefaultContentDisplay>().As<IContentDisplay>();
}
private IRoutableService _routableService;

View File

@@ -44,6 +44,7 @@ namespace Orchard.Core.Tests.Scheduling {
builder.RegisterInstance(_handler).As<IScheduledTaskHandler>();
builder.RegisterType<StubExtensionManager>().As<IExtensionManager>();
builder.RegisterType<DefaultContentDisplay>().As<IContentDisplay>();
}
protected override IEnumerable<Type> DatabaseTypes {

View File

@@ -47,6 +47,7 @@ namespace Orchard.Core.Tests.Scheduling {
builder.RegisterType<ScheduledTaskManager>().As<IScheduledTaskManager>();
builder.RegisterType<StubExtensionManager>().As<IExtensionManager>();
builder.RegisterType<DefaultContentDisplay>().As<IContentDisplay>();
}
protected override IEnumerable<Type> DatabaseTypes {