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 8293735108
commit a5b9dc8c08
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 |
| updatenotification |
| workflowengine |
| files_external |
Scenario: get app info
Given As an "admin"
@ -304,19 +305,19 @@ Feature: provisioning
Scenario: enable an app
Given As an "admin"
And app "files_external" is disabled
When sending "POST" to "/cloud/apps/files_external"
And app "testing" is disabled
When sending "POST" to "/cloud/apps/testing"
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And app "files_external" is enabled
And app "testing" is enabled
Scenario: disable an app
Given As an "admin"
And app "files_external" is enabled
When sending "DELETE" to "/cloud/apps/files_external"
And app "testing" is enabled
When sending "DELETE" to "/cloud/apps/testing"
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And app "files_external" is disabled
And app "testing" is disabled
Scenario: disable an user
Given As an "admin"