Skip to content

Commit 1088870

Browse files
committed
Add intergration test
1 parent 4e5fb74 commit 1088870

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

build/integration/features/sharing-v1.feature

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,3 +759,19 @@ Feature: sharing
759759
| shareType | 0 |
760760
Then the OCS status code should be "997"
761761
And the HTTP status code should be "401"
762+
763+
Scenario: Deleting a group share as user
764+
Given As an "admin"
765+
And user "user0" exists
766+
And user "user1" exists
767+
And group "group1" exists
768+
And user "user1" belongs to group "group1"
769+
And As an "user0"
770+
And creating a share with
771+
| path | welcome.txt |
772+
| shareType | 1 |
773+
| shareWith | group1 |
774+
When As an "user1"
775+
And Deleting last share
776+
Then the OCS status code should be "404"
777+
And the HTTP status code should be "200"

0 commit comments

Comments
 (0)