summaryrefslogtreecommitdiffstats
path: root/build/integration/features/sharing-v1.feature
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2015-11-19 09:36:56 +0000
committerSergio Bertolin <sbertolin@solidgear.es>2015-11-19 12:45:12 +0000
commit630ba2fd0948b01db16b258a064bf3ca02302d1d (patch)
tree0c6a2f8f1673c2a147566c9229520e1d35e7a233 /build/integration/features/sharing-v1.feature
parenta990e0ac1d5a50618ed976e3354e47e443277de9 (diff)
downloadnextcloud-server-630ba2fd0948b01db16b258a064bf3ca02302d1d.tar.gz
nextcloud-server-630ba2fd0948b01db16b258a064bf3ca02302d1d.zip
Added test for shared_with_me parameter
Diffstat (limited to 'build/integration/features/sharing-v1.feature')
-rw-r--r--build/integration/features/sharing-v1.feature10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature
index aceff1de1a3..0100ab3eda1 100644
--- a/build/integration/features/sharing-v1.feature
+++ b/build/integration/features/sharing-v1.feature
@@ -302,6 +302,16 @@ Feature: sharing
| file_parent | A_NUMBER |
| displayname_owner | user0 |
+ Scenario: Sharee can see the share
+ Given user "user0" exists
+ And user "user1" exists
+ And file "textfile0.txt" from user "user0" is shared with user "user1"
+ And As an "user1"
+ When sending "GET" to "/apps/files_sharing/api/v1/shares?shared_with_me=true"
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And last share_id is included in the answer
+
Scenario: delete a share
Given user "user0" exists
And user "user1" exists