Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-14 15:33:28 +0300
committerJoas Schilling <coding@schilljs.com>2016-07-14 15:33:28 +0300
commit268e65730a5dfc9f20b24240d1aedf6180beb9bb (patch)
treea76dd365d383db83c325618a8eaab107c9432ff9 /build
parentf72f8190869fc2325f93f99c5973b8d3aeef2f4b (diff)
Add a new integration test for CREATE only shares
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/sharing-v1.feature31
1 files changed, 31 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature
index 3a23db12528..75f98521e3a 100644
--- a/build/integration/features/sharing-v1.feature
+++ b/build/integration/features/sharing-v1.feature
@@ -189,6 +189,37 @@ Feature: sharing
| url | AN_URL |
| mimetype | httpd/unix-directory |
+ Scenario: Creating a new public share, updating its permissions for "hide file list"
+ Given user "user0" exists
+ And As an "user0"
+ When creating a share with
+ | path | FOLDER |
+ | shareType | 3 |
+ And Updating last share with
+ | permissions | 4 |
+ And the OCS status code should be "100"
+ And Getting info of last share
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And Share fields of last share match with
+ | id | A_NUMBER |
+ | item_type | folder |
+ | item_source | A_NUMBER |
+ | share_type | 3 |
+ | file_source | A_NUMBER |
+ | file_target | /FOLDER |
+ | permissions | 4 |
+ | stime | A_NUMBER |
+ | token | A_TOKEN |
+ | storage | A_NUMBER |
+ | mail_send | 0 |
+ | uid_owner | user0 |
+ | storage_id | home::user0 |
+ | file_parent | A_NUMBER |
+ | displayname_owner | user0 |
+ | url | AN_URL |
+ | mimetype | httpd/unix-directory |
+
Scenario: Creating a new public share, updating publicUpload option and getting its info
Given user "user0" exists
And As an "user0"