Fixed MultiTenancy feature specflow tests.

This commit is contained in:
Sipke Schoorstra
2015-09-12 15:50:38 +01:00
parent 158069ef47
commit 5540e98079
4 changed files with 10 additions and 9 deletions

View File

@@ -168,7 +168,7 @@ Scenario: A running tenant can be disabled
And I go to "/Admin/MultiTenancy" on host localhost
And I hit "Suspend"
And I am redirected
Then I should see "<form action="/Admin/MultiTenancy/enable""
Then I should see "<form action="/Admin/MultiTenancy/Enable""
Scenario: A running tenant which is disabled can be enabled
Given I have installed Orchard
@@ -191,7 +191,7 @@ Scenario: A running tenant which is disabled can be enabled
And I am redirected
And I hit "Resume"
And I am redirected
Then I should see "<form action="/Admin/MultiTenancy/disable""
Then I should see "<form action="/Admin/MultiTenancy/Disable""
Scenario: Listing tenants from command line
Given I have installed Orchard
@@ -199,4 +199,4 @@ Scenario: Listing tenants from command line
And I have tenant "Alpha" on "example.org" as "New-site-name"
When I execute >tenant list
Then I should see "Name: Alpha"
And I should see "Request Url Host: example.org"
And I should see "Request URL host: example.org"

View File

@@ -525,7 +525,7 @@ this.ScenarioSetup(scenarioInfo);
#line 170
testRunner.And("I am redirected", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 171
testRunner.Then("I should see \"<form action=\"/Admin/MultiTenancy/enable\"\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
testRunner.Then("I should see \"<form action=\"/Admin/MultiTenancy/Enable\"\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
this.ScenarioCleanup();
}
@@ -587,7 +587,7 @@ this.ScenarioSetup(scenarioInfo);
#line 193
testRunner.And("I am redirected", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line 194
testRunner.Then("I should see \"<form action=\"/Admin/MultiTenancy/disable\"\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
testRunner.Then("I should see \"<form action=\"/Admin/MultiTenancy/Disable\"\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line hidden
this.ScenarioCleanup();
}
@@ -610,7 +610,7 @@ this.ScenarioSetup(scenarioInfo);
#line 201
testRunner.Then("I should see \"Name: Alpha\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Then ");
#line 202
testRunner.And("I should see \"Request Url Host: example.org\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
testRunner.And("I should see \"Request URL host: example.org\"", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "And ");
#line hidden
this.ScenarioCleanup();
}