mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Moving controllers out of stock Orchard.Web app. Updating standard route provider to use package manager active entry information. (removes hardcoded entries.)
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4039327
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
using System.Web.Mvc;
|
||||
using NUnit.Framework;
|
||||
using Orchard.Web.Controllers;
|
||||
|
||||
namespace Orchard.Web.Tests.Controllers {
|
||||
[TestFixture]
|
||||
public class HomeControllerTests {
|
||||
[Test]
|
||||
public void IndexAndAboutShouldReturnViews() {
|
||||
var controller = new HomeController();
|
||||
var result1 = controller.Index();
|
||||
var result2 = controller.About();
|
||||
|
||||
Assert.That(result1, Is.TypeOf<ViewResult>());
|
||||
Assert.That(result2, Is.TypeOf<ViewResult>());
|
||||
}
|
||||
}
|
||||
}
|
@@ -60,7 +60,6 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Controllers\HomeControllerTests.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Routes\RouteTests.cs" />
|
||||
<Compile Include="Stubs\StubContext.cs" />
|
||||
|
Reference in New Issue
Block a user