mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Updating location formats on view engine to support ~/Views/Models/ path in any active package. Enables rendering of EditorTemplates and opens the door for distributed rendering of content or widgets.
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041319
This commit is contained in:
@@ -8,6 +8,7 @@ using NUnit.Framework;
|
||||
using Orchard.Environment;
|
||||
using Orchard.Mvc.ModelBinders;
|
||||
using Orchard.Mvc.Routes;
|
||||
using Orchard.Packages;
|
||||
|
||||
namespace Orchard.Tests.Environment {
|
||||
[TestFixture]
|
||||
@@ -35,7 +36,9 @@ namespace Orchard.Tests.Environment {
|
||||
new[] { provider1, provider2 },
|
||||
publisher,
|
||||
new[] { modelBinderProvider1, modelBinderProvider2 },
|
||||
modelBinderPublisher);
|
||||
modelBinderPublisher,
|
||||
new ViewEngineCollection(),
|
||||
new Moq.Mock<IPackageManager>().Object);
|
||||
|
||||
runtime.Activate();
|
||||
|
||||
|
Reference in New Issue
Block a user