summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-03-02 15:25:50 +0100
committerRobin Appelman <icewind@owncloud.com>2015-03-02 15:25:50 +0100
commitc80522ed63e3225ce1f1353581220c3296ed0590 (patch)
tree1c95536318918ac24332672d00162b2fb1e7d3e9 /apps/files_trashbin/tests
parent00568af74d8b392ea9f991e3d4069cd50e030030 (diff)
downloadnextcloud-server-c80522ed63e3225ce1f1353581220c3296ed0590.tar.gz
nextcloud-server-c80522ed63e3225ce1f1353581220c3296ed0590.zip
Expire files from the trash in the background
Diffstat (limited to 'apps/files_trashbin/tests')
-rw-r--r--apps/files_trashbin/tests/trashbin.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_trashbin/tests/trashbin.php b/apps/files_trashbin/tests/trashbin.php
index 17e38015868..8bc52cc9192 100644
--- a/apps/files_trashbin/tests/trashbin.php
+++ b/apps/files_trashbin/tests/trashbin.php
@@ -210,6 +210,8 @@ class Test_Trashbin extends \Test\TestCase {
\OC\Files\Filesystem::unlink($folder . 'user1-4.txt');
+ $this->runCommands();
+
$filesInTrashUser2AfterDelete = OCA\Files_Trashbin\Helper::getTrashFiles('/', self::TEST_TRASHBIN_USER2);
// user2-1.txt should have been expired