Skip to content

Commit

Permalink
Add intergration test
Browse files Browse the repository at this point in the history
  • Loading branch information
rullzer authored and nickvergessen committed Aug 3, 2016
1 parent 7289cb5 commit e2c4f4f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build/integration/features/sharing-v1.feature
Expand Up @@ -759,3 +759,19 @@ Feature: sharing
| shareType | 0 | | shareType | 0 |
Then the OCS status code should be "997" Then the OCS status code should be "997"
And the HTTP status code should be "401" And the HTTP status code should be "401"

Scenario: Deleting a group share as user
Given As an "admin"
And user "user0" exists
And user "user1" exists
And group "group1" exists
And user "user1" belongs to group "group1"
And As an "user0"
And creating a share with
| path | welcome.txt |
| shareType | 1 |
| shareWith | group1 |
When As an "user1"
And Deleting last share
Then the OCS status code should be "404"
And the HTTP status code should be "200"

0 comments on commit e2c4f4f

Please sign in to comment.