mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fix SpecFlow tests
Feature "Core/Contents" is necessary now for displaying the homepage. --HG-- branch : dev
This commit is contained in:
@@ -17,7 +17,7 @@ namespace Orchard.Specs.Bindings {
|
|||||||
|
|
||||||
webApp.GivenIHaveACleanSiteWith(TableData(
|
webApp.GivenIHaveACleanSiteWith(TableData(
|
||||||
new { extension = "module", names = "Orchard.Setup, Orchard.Modules, Orchard.Themes, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Tags, TinyMce" },
|
new { extension = "module", names = "Orchard.Setup, Orchard.Modules, Orchard.Themes, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Tags, TinyMce" },
|
||||||
new { extension = "core", names = "Common, Dashboard, Feeds, HomePage, Navigation, PublishLater, Routable, Scheduling, Settings, XmlRpc" },
|
new { extension = "core", names = "Common, Dashboard, Feeds, HomePage, Navigation, Contents, PublishLater, Routable, Scheduling, Settings, XmlRpc" },
|
||||||
new { extension = "theme", names = "SafeMode, Classic" }));
|
new { extension = "theme", names = "SafeMode, Classic" }));
|
||||||
|
|
||||||
webApp.WhenIGoTo("Setup");
|
webApp.WhenIGoTo("Setup");
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ Scenario: Calling setup on a brand new install
|
|||||||
Given I have a clean site with
|
Given I have a clean site with
|
||||||
| extension | names |
|
| extension | names |
|
||||||
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, TinyMce |
|
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, TinyMce |
|
||||||
| core | Common, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, XmlRpc |
|
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, XmlRpc |
|
||||||
| theme | SafeMode, Classic |
|
| theme | SafeMode, Classic |
|
||||||
And I am on "/Setup"
|
And I am on "/Setup"
|
||||||
When I fill in
|
When I fill in
|
||||||
|
|||||||
4
src/Orchard.Specs/Setup.feature.cs
generated
4
src/Orchard.Specs/Setup.feature.cs
generated
@@ -145,8 +145,8 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
"nyMce"});
|
"nyMce"});
|
||||||
table1.AddRow(new string[] {
|
table1.AddRow(new string[] {
|
||||||
"core",
|
"core",
|
||||||
"Common, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Schedulin" +
|
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater," +
|
||||||
"g, Settings, XmlRpc"});
|
" Scheduling, Settings, XmlRpc"});
|
||||||
table1.AddRow(new string[] {
|
table1.AddRow(new string[] {
|
||||||
"theme",
|
"theme",
|
||||||
"SafeMode, Classic"});
|
"SafeMode, Classic"});
|
||||||
|
|||||||
Reference in New Issue
Block a user