diff options
Diffstat (limited to 'build/integration/features/sharing-v1.feature')
-rw-r--r-- | build/integration/features/sharing-v1.feature | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature index d67afede953..a602ea40a9c 100644 --- a/build/integration/features/sharing-v1.feature +++ b/build/integration/features/sharing-v1.feature @@ -696,3 +696,15 @@ Feature: sharing Then user "user2" should see following elements | /foo/ | | /foo%20(2)/ | + + Scenario: Creating a new share with a disabled user + Given As an "admin" + And user "user0" exists + And user "user1" exists + And assure user "user0" is disabled + And As an "user0" + When sending "POST" to "/apps/files_sharing/api/v1/shares" with + | path | welcome.txt | + | shareWith | user1 | + | shareType | 0 | + Then the HTTP status code should be "503" |