diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-06-21 12:16:27 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-06-27 15:27:30 +0200 |
commit | 3802174f06f1f17dd3c4f154ec324266987e0f9b (patch) | |
tree | de3bedd9ea56a17118e26b78c1e08f0fafb362da /build/integration | |
parent | 7aa26b28a8bd171b5dfd2f28980247b0882f2f71 (diff) | |
download | nextcloud-server-3802174f06f1f17dd3c4f154ec324266987e0f9b.tar.gz nextcloud-server-3802174f06f1f17dd3c4f154ec324266987e0f9b.zip |
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/integration')
-rw-r--r-- | build/integration/features/sharing-v1-part3.feature | 8 |
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 1b3fe8245c4..66420896a0b 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 | |