diff options
author | Vincent Petry <pvince81@owncloud.com> | 2017-02-01 10:54:10 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-04-11 14:59:21 -0500 |
commit | d1081e79402fa02151cec411f7dbcdf1f792a5dc (patch) | |
tree | 494cc28927cfd67c5fc4402e9d8e598fa7d5579d /build/integration/features/trashbin.feature | |
parent | 8175ac6ecd58f08417fc5129af6a490fd3a4bc3b (diff) | |
download | nextcloud-server-d1081e79402fa02151cec411f7dbcdf1f792a5dc.tar.gz nextcloud-server-d1081e79402fa02151cec411f7dbcdf1f792a5dc.zip |
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>
Diffstat (limited to 'build/integration/features/trashbin.feature')
-rw-r--r-- | build/integration/features/trashbin.feature | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build/integration/features/trashbin.feature b/build/integration/features/trashbin.feature new file mode 100644 index 00000000000..adb73f2b5ea --- /dev/null +++ b/build/integration/features/trashbin.feature @@ -0,0 +1,13 @@ +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 + |