mirror of
https://github.com/nextcloud/server.git
synced 2026-03-02 05:20:46 -05:00
Add test for basic deletion. Add test when deleting from shared folder as recipient. Add test to check that metadata stays when moving out of shared folder as recipient. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
13 lines
352 B
Gherkin
13 lines
352 B
Gherkin
Feature: trashbin
|
|
Background:
|
|
Given using api version "1"
|
|
And using old dav path
|
|
And As an "admin"
|
|
And app "files_trashbin" is enabled
|
|
|
|
Scenario: deleting a file moves it to trashbin
|
|
Given As an "admin"
|
|
And user "user0" exists
|
|
When User "user0" deletes file "/textfile0.txt"
|
|
Then as "user0" the file "/textfile0.txt" exists in trash
|
|
|