aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/sharing_features
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-11-20 12:11:55 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-11-20 13:11:49 +0100
commit9004e90f5de9a72264425d8a26c88af15f0d27ec (patch)
tree815b22c4512c2ee24a34fed64def727cb40d6b88 /build/integration/sharing_features
parent847bd0f05b5e12b6f6fc8e0b7de67dbf0006921b (diff)
downloadnextcloud-server-9004e90f5de9a72264425d8a26c88af15f0d27ec.tar.gz
nextcloud-server-9004e90f5de9a72264425d8a26c88af15f0d27ec.zip
Replace direct calls to share API with specific share steps
This makes possible to use steps that reference the last share, which will be needed to accept pending shares. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'build/integration/sharing_features')
-rw-r--r--build/integration/sharing_features/sharing-v1-part3.feature4
-rw-r--r--build/integration/sharing_features/sharing-v1.feature6
2 files changed, 5 insertions, 5 deletions
diff --git a/build/integration/sharing_features/sharing-v1-part3.feature b/build/integration/sharing_features/sharing-v1-part3.feature
index 736b542dd82..42eee1cc3c4 100644
--- a/build/integration/sharing_features/sharing-v1-part3.feature
+++ b/build/integration/sharing_features/sharing-v1-part3.feature
@@ -120,7 +120,7 @@ Feature: sharing
And user "user1" exists
And assure user "user0" is disabled
And As an "user0"
- When sending "POST" to "/apps/files_sharing/api/v1/shares" with
+ When creating a share with
| path | welcome.txt |
| shareWith | user1 |
| shareType | 0 |
@@ -339,7 +339,7 @@ Feature: sharing
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
+ When creating a share with
| path | welcome.txt |
| shareWith | sharing-group |
| shareType | 1 |
diff --git a/build/integration/sharing_features/sharing-v1.feature b/build/integration/sharing_features/sharing-v1.feature
index b88917dee83..79753895483 100644
--- a/build/integration/sharing_features/sharing-v1.feature
+++ b/build/integration/sharing_features/sharing-v1.feature
@@ -7,7 +7,7 @@ Feature: sharing
Given user "user0" exists
And user "user1" exists
And As an "user0"
- When sending "POST" to "/apps/files_sharing/api/v1/shares" with
+ When creating a share with
| path | welcome.txt |
| shareWith | user1 |
| shareType | 0 |
@@ -21,7 +21,7 @@ Feature: sharing
And user "user1" exists
And group "sharing-group" exists
And As an "user0"
- When sending "POST" to "/apps/files_sharing/api/v1/shares" with
+ When creating a share with
| path | welcome.txt |
| shareWith | sharing-group |
| shareType | 1 |
@@ -36,7 +36,7 @@ Feature: sharing
And user "user1" belongs to group "sharing-group"
And file "welcome.txt" of user "user0" is shared with group "sharing-group"
And As an "user0"
- Then sending "POST" to "/apps/files_sharing/api/v1/shares" with
+ Then creating a share with
| path | welcome.txt |
| shareWith | user1 |
| shareType | 0 |