Changed enabled/disabled app in provisioning api tests

This commit is contained in:
Sergio Bertolín 2016-08-26 10:52:11 +00:00 committed by Lukas Reschke
parent 7106129baa
commit 86cfcde5e9
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 7 additions and 6 deletions

View File

@ -295,6 +295,7 @@ Feature: provisioning
| theming | | theming |
| updatenotification | | updatenotification |
| workflowengine | | workflowengine |
| files_external |
Scenario: get app info Scenario: get app info
Given As an "admin" Given As an "admin"
@ -304,19 +305,19 @@ Feature: provisioning
Scenario: enable an app Scenario: enable an app
Given As an "admin" Given As an "admin"
And app "files_external" is disabled And app "user_ldap" is disabled
When sending "POST" to "/cloud/apps/files_external" When sending "POST" to "/cloud/apps/user_ldap"
Then the OCS status code should be "100" Then the OCS status code should be "100"
And the HTTP status code should be "200" And the HTTP status code should be "200"
And app "files_external" is enabled And app "user_ldap" is enabled
Scenario: disable an app Scenario: disable an app
Given As an "admin" Given As an "admin"
And app "files_external" is enabled And app "user_ldap" is enabled
When sending "DELETE" to "/cloud/apps/files_external" When sending "DELETE" to "/cloud/apps/user_ldap"
Then the OCS status code should be "100" Then the OCS status code should be "100"
And the HTTP status code should be "200" And the HTTP status code should be "200"
And app "files_external" is disabled And app "user_ldap" is disabled
Scenario: disable an user Scenario: disable an user
Given As an "admin" Given As an "admin"