diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-03-17 10:10:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-17 10:10:00 +0100 |
commit | 3f331e02f99d7943c091f2fa3598769100e008d1 (patch) | |
tree | 4278ea9bdacd0b9278a70474ad29a6bedb9f7e33 /build/integration/features/favorites.feature | |
parent | e548d27d3a2e561152a66a4ee462e78d49cd6538 (diff) | |
parent | 5d29e841188fbb0900935fb892beaae3c23b2f4f (diff) | |
download | nextcloud-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/favorites.feature')
-rw-r--r-- | build/integration/features/favorites.feature | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build/integration/features/favorites.feature b/build/integration/features/favorites.feature index 9722948dac2..c2fdb1dfc11 100644 --- a/build/integration/features/favorites.feature +++ b/build/integration/features/favorites.feature @@ -134,3 +134,16 @@ Feature: favorite | /subfolder/textfile0.txt | | /subfolder/textfile2.txt | + Scenario: moving a favorite file out of a share keeps favorite state + Given using old dav path + And As an "admin" + And user "user0" exists + And user "user1" exists + And user "user0" created a folder "/shared" + And User "user0" moved file "/textfile0.txt" to "/shared/shared_file.txt" + And folder "/shared" of user "user0" is shared with user "user1" + And user "user1" favorites element "/shared/shared_file.txt" + When User "user1" moved file "/shared/shared_file.txt" to "/taken_out.txt" + Then user "user1" in folder "/" should have favorited the following elements + | /taken_out.txt | + |