mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing tests
--HG-- branch : dev
This commit is contained in:
@@ -43,6 +43,8 @@ namespace Orchard.Tests.ContentManagement {
|
||||
// builder.RegisterModule(new ImplicitCollectionSupportModule());
|
||||
builder.RegisterModule(new ContentModule());
|
||||
builder.RegisterType<DefaultContentManager>().As<IContentManager>().SingleInstance();
|
||||
builder.RegisterType<DefaultContentManagerSession>().As<IContentManagerSession>();
|
||||
|
||||
builder.RegisterType<AlphaHandler>().As<IContentHandler>();
|
||||
builder.RegisterType<BetaHandler>().As<IContentHandler>();
|
||||
builder.RegisterType<GammaHandler>().As<IContentHandler>();
|
||||
@@ -285,7 +287,7 @@ namespace Orchard.Tests.ContentManagement {
|
||||
init.As<Epsilon>().Record.Quad = "v3";
|
||||
});
|
||||
_session.Flush();
|
||||
_session.Clear();
|
||||
_session.Clear();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Reference in New Issue
Block a user