Add intergration test

This commit is contained in:
Roeland Jago Douma 2016-08-02 10:58:27 +02:00 committed by Joas Schilling
parent a5471b4a3e
commit 3387e5d00f
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 15 additions and 0 deletions

View File

@ -594,3 +594,18 @@ Feature: sharing
| /foo/ |
| /foo%20(2)/ |
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"