mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 02:31:33 -04:00
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>
This commit is contained in:
parent
38fe009444
commit
d3301befa0
1 changed files with 5 additions and 3 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Reference in a new issue