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:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-06-21 13:16:27 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-06-28 10:49:11 +0300
commitd3301befa05c3441a1f4f81e17b1f36bf8f5d84d (patch)
tree830166d92c23f6814ef233cc6da9588f76b8756a /build
parent38fe009444885aad8fe24fddc670ab1300cc4607 (diff)
Do not create folders with admin user
The admin user is not deleted after each integration test is run, so folders created by the admin user in one test are still there when the next tests run; tests should be independent one from each other, so a regular user that is created and deleted for each test should be used instead. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/sharing-v1-part3.feature8
1 files changed, 5 insertions, 3 deletions
diff --git a/build/integration/features/sharing-v1-part3.feature b/build/integration/features/sharing-v1-part3.feature
index 6ab7cfdf9a0..9ef57682534 100644
--- a/build/integration/features/sharing-v1-part3.feature
+++ b/build/integration/features/sharing-v1-part3.feature
@@ -339,14 +339,16 @@ Feature: sharing
Scenario: do not allow to increase link share permissions on reshare
Given As an "admin"
- And user "admin" created a folder "/TMP"
And user "user0" exists
+ And user "user1" exists
+ And user "user0" created a folder "/TMP"
+ And As an "user0"
And creating a share with
| path | TMP |
| shareType | 0 |
- | shareWith | user0 |
+ | shareWith | user1 |
| permissions | 17 |
- When As an "user0"
+ When As an "user1"
And creating a share with
| path | TMP |
| shareType | 3 |