From d1081e79402fa02151cec411f7dbcdf1f792a5dc Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 1 Feb 2017 10:54:10 +0100 Subject: 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 --- build/integration/features/trashbin.feature | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 build/integration/features/trashbin.feature (limited to 'build/integration/features/trashbin.feature') 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 + -- cgit v1.2.3