Update SweepGeneratorTests.cs

This commit is contained in:
jtkech
2015-12-11 01:40:35 +01:00
parent e889288687
commit e72b8c4bed

View File

@@ -13,6 +13,7 @@ namespace Orchard.Tests.Tasks {
public class SweepGeneratorTests : ContainerTestBase {
protected override void Register(ContainerBuilder builder) {
builder.RegisterAutoMocking(MockBehavior.Loose);
builder.RegisterModule(new MvcModule());
builder.RegisterModule(new WorkContextModule());
builder.RegisterType<WorkContextAccessor>().As<IWorkContextAccessor>();
builder.RegisterType<SweepGenerator>();