From: Daniel Calviño Sánchez Date: Fri, 21 Jun 2019 10:16:27 +0000 (+0200) Subject: Do not create folders with admin user X-Git-Tag: v16.0.2RC1~8^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9bb690d299085a9667918a8f540e3631ad0b2103;p=nextcloud-server.git 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 --- 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 |