diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-10-10 17:05:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-10 17:05:07 +0200 |
commit | f3fd0f4a624e8d59890585a8967e88223a6e581e (patch) | |
tree | 034bb62623c49ae013dfa2f24e6937de00dac4c2 | |
parent | 2c6913ff9f74dc6e87c3cbb517af2b6cf2ca5ec3 (diff) | |
parent | f1c313b8bdac1c2c439230439c3efe6ca8614a8d (diff) | |
download | nextcloud-server-f3fd0f4a624e8d59890585a8967e88223a6e581e.tar.gz nextcloud-server-f3fd0f4a624e8d59890585a8967e88223a6e581e.zip |
Merge pull request #1674 from nextcloud/downstream-26183
Added test for 26182
-rw-r--r-- | build/integration/features/sharing-v1.feature | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature index ab1b9c63ccd..9b19690d6d2 100644 --- a/build/integration/features/sharing-v1.feature +++ b/build/integration/features/sharing-v1.feature @@ -938,3 +938,17 @@ Feature: sharing And User "user0" deletes folder "/common" When User "user0" empties trashbin Then as "user1" the folder "sub" does not exist + + Scenario: sharing again an own file while belonging to a group + Given As an "admin" + Given user "user0" exists + And group "sharing-group" exists + And user "user0" belongs to group "sharing-group" + And file "welcome.txt" of user "user0" is shared with group "sharing-group" + And Deleting last share + When sending "POST" to "/apps/files_sharing/api/v1/shares" with + | path | welcome.txt | + | shareWith | sharing-group | + | shareType | 1 | + Then the OCS status code should be "100" + And the HTTP status code should be "200" |