diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-11-20 14:11:55 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-11-20 15:11:49 +0300 |
commit | 9004e90f5de9a72264425d8a26c88af15f0d27ec (patch) | |
tree | 815b22c4512c2ee24a34fed64def727cb40d6b88 /build/integration/sharing_features/sharing-v1-part3.feature | |
parent | 847bd0f05b5e12b6f6fc8e0b7de67dbf0006921b (diff) |
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/sharing-v1-part3.feature')
-rw-r--r-- | build/integration/sharing_features/sharing-v1-part3.feature | 4 |
1 files changed, 2 insertions, 2 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 | |