mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing FeatureManagerTests
--HG-- branch : 1.x
This commit is contained in:
@@ -8,6 +8,7 @@ using Orchard.Caching;
|
||||
using Orchard.Core.Settings.Descriptor;
|
||||
using Orchard.Core.Settings.Descriptor.Records;
|
||||
using Orchard.Core.Settings.State;
|
||||
using Orchard.Environment.Configuration;
|
||||
using Orchard.Environment.Descriptor;
|
||||
using Orchard.Environment.Descriptor.Models;
|
||||
using Orchard.Environment.Extensions;
|
||||
@@ -45,6 +46,8 @@ namespace Orchard.Tests.Environment.Features {
|
||||
builder.RegisterType<ShellStateManager>().As<IShellStateManager>().SingleInstance();
|
||||
builder.RegisterType<StubEventBus>().As<IEventBus>().SingleInstance();
|
||||
builder.RegisterSource(new EventsRegistrationSource());
|
||||
|
||||
builder.RegisterInstance(new ShellSettings { Name = "Default" });
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Reference in New Issue
Block a user