Browse Source

Merge pull request #1538 from nextcloud/fix-integration-test-to-use-a-valid-url

Fix integration test to use a valid URL
pull/1543/head
Lukas Reschke 9 years ago
committed by GitHub
parent
commit
3e843fcd82
  1. 5
      build/integration/features/provisioning-v1.feature

5
build/integration/features/provisioning-v1.feature

@ -501,15 +501,16 @@ 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"
And the OCS status code should be "100"
Scenario: Making a web request with a disabled user
Given As an "admin"
And user "user0" exists
And assure user "user0" is disabled
And As an "user0"
When sending "GET" to "/index.php/apps/files"
When sending "GET" to "/cloud/capabilities"
Then the OCS status code should be "997"
And the HTTP status code should be "401"
Loading…
Cancel
Save