summaryrefslogtreecommitdiffstats
path: root/build/integration/features/webdav-related.feature
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-04-08 17:06:53 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2016-05-02 09:31:22 +0200
commit0eed6b518967868f7837225be1db0f698c09b685 (patch)
treefe3b02cfd4c2bf8b2b977ed17671cd38f526663b /build/integration/features/webdav-related.feature
parent8486926a147ad767d2ac8957512142f8a4873fa7 (diff)
downloadnextcloud-server-0eed6b518967868f7837225be1db0f698c09b685.tar.gz
nextcloud-server-0eed6b518967868f7837225be1db0f698c09b685.zip
Integration test for a disabled user
Diffstat (limited to 'build/integration/features/webdav-related.feature')
-rw-r--r--build/integration/features/webdav-related.feature8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature
index abdc63935e9..f2343b6254f 100644
--- a/build/integration/features/webdav-related.feature
+++ b/build/integration/features/webdav-related.feature
@@ -286,3 +286,11 @@ Feature: webdav-related
When As an "user0"
And Downloading file "/files/user0/myChunkedFile.txt"
Then Downloaded content should be "AAAAABBBBBCCCCC"
+
+ Scenario: A disabled user cannot use webdav
+ Given user "userToBeDisabled" exists
+ And As an "admin"
+ And user "userToBeDisabled" is disabled
+ When Downloading file "/welcome.txt" as "userToBeDisabled"
+ Then the HTTP status code should be "503"
+