Request a valid resource

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2016-09-27 11:50:46 +02:00
parent bbbad09383
commit 2f01c97e97
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 4 additions and 5 deletions

View File

@ -500,7 +500,7 @@ Feature: provisioning
Given As an "admin"
And user "user0" exists
And As an "user0"
When sending "GET" to "/index.php/apps/files"
When sending "GET" to "/cloud/capabilities"
Then the HTTP status code should be "200"
Scenario: Making a web request with a disabled user
@ -508,7 +508,6 @@ Feature: provisioning
And user "user0" exists
And assure user "user0" is disabled
And As an "user0"
When sending "GET" to "/index.php/apps/files"
Then the OCS status code should be "999"
And the HTTP status code should be "200"
When sending "GET" to "/cloud/capabilities"
Then the OCS status code should be "997"
And the HTTP status code should be "401"