server/build/integration/features/trashbin.feature
Vincent Petry 659006c234
Add integration test for trashbin
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>
2017-03-16 23:53:58 -06:00

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