summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-07-28 15:24:46 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-07-29 11:02:38 +0200
commitfb4c99fe0671c8eaff1f1024d71b9d7a12968e8e (patch)
tree5262a731ed9d3fc422cd12286606e0dee687fb75 /tests
parentc34e63bb1f9752892d3c36b50e461b284f822a36 (diff)
downloadnextcloud-server-fb4c99fe0671c8eaff1f1024d71b9d7a12968e8e.tar.gz
nextcloud-server-fb4c99fe0671c8eaff1f1024d71b9d7a12968e8e.zip
make sure that we emit the hooks if a file gets moved from a subfolder to the root folder with the nodes API
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/view.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php
index 382c033f19c..63a813873c6 100644
--- a/tests/lib/files/view.php
+++ b/tests/lib/files/view.php
@@ -1329,7 +1329,9 @@ class View extends \Test\TestCase {
['/foo/files/bar', '/foo', true],
['/foo', '/foo', false],
['/foo', '/files/foo', true],
- ['/foo', 'filesfoo', false]
+ ['/foo', 'filesfoo', false],
+ ['', '/foo/files', true],
+ ['', '/foo/files/bar.txt', true]
];
}