mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 13:33:34 +08:00
Fix unit test
Change app config to rebind mvc 1.0 to mvc 2.0 assembly, the same way we do in web.config. --HG-- branch : dev
This commit is contained in:
@@ -9,4 +9,12 @@
|
||||
</source>
|
||||
</sources>
|
||||
</system.diagnostics>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
|
||||
<bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
|
@@ -26,6 +26,7 @@ namespace Orchard.Tests.Environment.ShellBuilders {
|
||||
var builder = new ContainerBuilder();
|
||||
builder.RegisterType<ShellContainerFactory>().As<IShellContainerFactory>();
|
||||
builder.RegisterType<ComponentForHostContainer>();
|
||||
builder.RegisterType<ControllerActionInvoker>().As<IActionInvoker>();
|
||||
_container = builder.Build();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user