mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Adapting PublishLater dependencies and tests
--HG-- branch : dev
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
setup /SiteName:Profiling /AdminUsername:admin /AdminPassword:profiling-secret /DatabaseProvider:SqlCe /EnabledFeatures:Profiling,Orchard.Framework,Routable,Common,Dashboard,Feeds,PublishLater,HomePage,Contents,Navigation,Reports,Scheduling,Indexing,Settings,Localization,XmlRpc,Orchard.Users,Orchard.Roles,TinyMce,Orchard.Themes,Orchard.MultiTenancy,Orchard.Blogs,Orchard.Comments,Orchard.Modules,Orchard.Widgets,Orchard.Media,Orchard.Tags,Orchard.Experimental
|
setup /SiteName:Profiling /AdminUsername:admin /AdminPassword:profiling-secret /DatabaseProvider:SqlCe /EnabledFeatures:Profiling,Orchard.Framework,Routable,Common,Dashboard,Feeds,Orchard.PublishLater,HomePage,Contents,Navigation,Reports,Scheduling,Indexing,Settings,Localization,XmlRpc,Orchard.Users,Orchard.Roles,TinyMce,Orchard.Themes,Orchard.MultiTenancy,Orchard.Blogs,Orchard.Comments,Orchard.Modules,Orchard.Widgets,Orchard.Media,Orchard.Tags,Orchard.Experimental
|
||||||
add profiling data
|
add profiling data
|
||||||
feature disable Orchard.Experimental
|
feature disable Orchard.Experimental
|
||||||
|
@@ -17,7 +17,7 @@ namespace Orchard.Specs.Bindings {
|
|||||||
|
|
||||||
webApp.GivenIHaveACleanSiteWith(TableData(
|
webApp.GivenIHaveACleanSiteWith(TableData(
|
||||||
new { extension = "module", names = "Orchard.Setup, Orchard.Modules, Orchard.Packaging, Orchard.Themes, Orchard.Widgets, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.jQuery, Orchard.Tags, TinyMce" },
|
new { extension = "module", names = "Orchard.Setup, Orchard.Modules, Orchard.Packaging, Orchard.Themes, Orchard.Widgets, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.jQuery, Orchard.Tags, TinyMce" },
|
||||||
new { extension = "core", names = "Common, Dashboard, Feeds, HomePage, Navigation, Contents, PublishLater, Routable, Scheduling, Settings, Shapes, XmlRpc" },
|
new { extension = "core", names = "Common, Dashboard, Feeds, HomePage, Navigation, Contents, Orchard.PublishLater, Routable, Scheduling, Settings, Shapes, XmlRpc" },
|
||||||
new { extension = "theme", names = "SafeMode, TheAdmin, TheThemeMachine" }));
|
new { extension = "theme", names = "SafeMode, TheAdmin, TheThemeMachine" }));
|
||||||
|
|
||||||
webApp.WhenIGoTo("Setup");
|
webApp.WhenIGoTo("Setup");
|
||||||
|
@@ -7,7 +7,7 @@ Scenario: Root request shows setup form
|
|||||||
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, Orchard.jQuery, TinyMce |
|
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Orchard.jQuery, TinyMce |
|
||||||
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, Shapes, XmlRpc |
|
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, Orchard.PublishLater, Scheduling, Settings, Shapes, XmlRpc |
|
||||||
| theme | SafeMode |
|
| theme | SafeMode |
|
||||||
When I go to "/Default.aspx"
|
When I go to "/Default.aspx"
|
||||||
Then I should see "Welcome to Orchard"
|
Then I should see "Welcome to Orchard"
|
||||||
@@ -18,7 +18,7 @@ Scenario: Setup folder also shows setup form
|
|||||||
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, Orchard.jQuery, TinyMce |
|
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Orchard.jQuery, TinyMce |
|
||||||
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, Shapes, XmlRpc |
|
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, Orchard.PublishLater, Scheduling, Settings, Shapes, XmlRpc |
|
||||||
| theme | SafeMode |
|
| theme | SafeMode |
|
||||||
When I go to "/Setup"
|
When I go to "/Setup"
|
||||||
Then I should see "Welcome to Orchard"
|
Then I should see "Welcome to Orchard"
|
||||||
@@ -29,7 +29,7 @@ Scenario: Some of the initial form values are required
|
|||||||
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, Orchard.jQuery, TinyMce |
|
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Orchard.jQuery, TinyMce |
|
||||||
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, Shapes, XmlRpc |
|
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, Orchard.PublishLater, Scheduling, Settings, Shapes, XmlRpc |
|
||||||
| theme | SafeMode |
|
| theme | SafeMode |
|
||||||
When I go to "/Setup"
|
When I go to "/Setup"
|
||||||
And I hit "Finish Setup"
|
And I hit "Finish Setup"
|
||||||
@@ -40,7 +40,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, Orchard.Modules, Orchard.Widgets, Orchard.jQuery, TinyMce |
|
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Orchard.Modules, Orchard.Widgets, Orchard.jQuery, TinyMce |
|
||||||
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, Shapes, XmlRpc |
|
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, Orchard.PublishLater, Scheduling, Settings, Shapes, XmlRpc |
|
||||||
| theme | SafeMode, TheThemeMachine |
|
| theme | SafeMode, TheThemeMachine |
|
||||||
And I am on "/Setup"
|
And I am on "/Setup"
|
||||||
When I fill in
|
When I fill in
|
||||||
|
16
src/Orchard.Specs/Setup.feature.cs
generated
16
src/Orchard.Specs/Setup.feature.cs
generated
@@ -67,10 +67,10 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
table1.AddRow(new string[] {
|
table1.AddRow(new string[] {
|
||||||
"module",
|
"module",
|
||||||
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" +
|
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" +
|
||||||
"chard.jQuery, TinyMce"});
|
"chard.jQuery, TinyMce, Orchard.PublishLater"});
|
||||||
table1.AddRow(new string[] {
|
table1.AddRow(new string[] {
|
||||||
"core",
|
"core",
|
||||||
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater," +
|
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable," +
|
||||||
" Scheduling, Settings, Shapes, XmlRpc"});
|
" Scheduling, Settings, Shapes, XmlRpc"});
|
||||||
table1.AddRow(new string[] {
|
table1.AddRow(new string[] {
|
||||||
"theme",
|
"theme",
|
||||||
@@ -103,10 +103,10 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
table2.AddRow(new string[] {
|
table2.AddRow(new string[] {
|
||||||
"module",
|
"module",
|
||||||
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" +
|
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" +
|
||||||
"chard.jQuery, TinyMce"});
|
"chard.jQuery, TinyMce, Orchard.PublishLater"});
|
||||||
table2.AddRow(new string[] {
|
table2.AddRow(new string[] {
|
||||||
"core",
|
"core",
|
||||||
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater," +
|
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable," +
|
||||||
" Scheduling, Settings, Shapes, XmlRpc"});
|
" Scheduling, Settings, Shapes, XmlRpc"});
|
||||||
table2.AddRow(new string[] {
|
table2.AddRow(new string[] {
|
||||||
"theme",
|
"theme",
|
||||||
@@ -139,10 +139,10 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
table3.AddRow(new string[] {
|
table3.AddRow(new string[] {
|
||||||
"module",
|
"module",
|
||||||
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" +
|
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" +
|
||||||
"chard.jQuery, TinyMce"});
|
"chard.jQuery, TinyMce, Orchard.PublishLater"});
|
||||||
table3.AddRow(new string[] {
|
table3.AddRow(new string[] {
|
||||||
"core",
|
"core",
|
||||||
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater," +
|
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable," +
|
||||||
" Scheduling, Settings, Shapes, XmlRpc"});
|
" Scheduling, Settings, Shapes, XmlRpc"});
|
||||||
table3.AddRow(new string[] {
|
table3.AddRow(new string[] {
|
||||||
"theme",
|
"theme",
|
||||||
@@ -177,10 +177,10 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
table4.AddRow(new string[] {
|
table4.AddRow(new string[] {
|
||||||
"module",
|
"module",
|
||||||
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" +
|
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" +
|
||||||
"chard.Modules, Orchard.Widgets, Orchard.jQuery, TinyMce"});
|
"chard.Modules, Orchard.Widgets, Orchard.jQuery, TinyMce, Orchard.PublishLater"});
|
||||||
table4.AddRow(new string[] {
|
table4.AddRow(new string[] {
|
||||||
"core",
|
"core",
|
||||||
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater," +
|
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable," +
|
||||||
" Scheduling, Settings, Shapes, XmlRpc"});
|
" Scheduling, Settings, Shapes, XmlRpc"});
|
||||||
table4.AddRow(new string[] {
|
table4.AddRow(new string[] {
|
||||||
"theme",
|
"theme",
|
||||||
|
@@ -69,7 +69,6 @@ namespace Orchard.Setup.Services {
|
|||||||
"Orchard.Framework",
|
"Orchard.Framework",
|
||||||
"Common",
|
"Common",
|
||||||
"Shapes",
|
"Shapes",
|
||||||
"PublishLater",
|
|
||||||
"Contents",
|
"Contents",
|
||||||
"Dashboard",
|
"Dashboard",
|
||||||
"Reports",
|
"Reports",
|
||||||
@@ -89,6 +88,7 @@ namespace Orchard.Setup.Services {
|
|||||||
"PackagingServices",
|
"PackagingServices",
|
||||||
"Orchard.Modules",
|
"Orchard.Modules",
|
||||||
"Orchard.Themes",
|
"Orchard.Themes",
|
||||||
|
"Orchard.PublishLater",
|
||||||
"Orchard.Blogs",
|
"Orchard.Blogs",
|
||||||
"Orchard.Comments",
|
"Orchard.Comments",
|
||||||
"Orchard.Tags",
|
"Orchard.Tags",
|
||||||
|
Reference in New Issue
Block a user