summaryrefslogtreecommitdiffstats
path: root/build/integration/features/trashbin.feature
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-03-17 10:10:00 +0100
committerGitHub <noreply@github.com>2017-03-17 10:10:00 +0100
commit3f331e02f99d7943c091f2fa3598769100e008d1 (patch)
tree4278ea9bdacd0b9278a70474ad29a6bedb9f7e33 /build/integration/features/trashbin.feature
parente548d27d3a2e561152a66a4ee462e78d49cd6538 (diff)
parent5d29e841188fbb0900935fb892beaae3c23b2f4f (diff)
downloadnextcloud-server-3f331e02f99d7943c091f2fa3598769100e008d1.tar.gz
nextcloud-server-3f331e02f99d7943c091f2fa3598769100e008d1.zip
Merge pull request #3893 from nextcloud/downstream-27069
Add integration test for trashbin
Diffstat (limited to 'build/integration/features/trashbin.feature')
-rw-r--r--build/integration/features/trashbin.feature13
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
+