summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-10-15 15:47:13 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2015-10-20 09:51:27 +0200
commit541474d5ecf23837c3bd5f7eee5557e2132ce268 (patch)
tree4821239ecc003d3f89301661441962abd0517e3b /apps
parentcf84a1128da8d70b9c0918233b69a59c9076dcf1 (diff)
downloadnextcloud-server-541474d5ecf23837c3bd5f7eee5557e2132ce268.tar.gz
nextcloud-server-541474d5ecf23837c3bd5f7eee5557e2132ce268.zip
Fix listing of trash files in test
Diffstat (limited to 'apps')
-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 f8e11b01867..e28b854ca1f 100644
--- a/apps/files_trashbin/tests/trashbin.php
+++ b/apps/files_trashbin/tests/trashbin.php
@@ -236,6 +236,8 @@ class Test_Trashbin extends \Test\TestCase {
// user2-1.txt should have been expired
$this->verifyArray($filesInTrashUser2AfterDelete, array('user2-2.txt', 'user1-4.txt'));
+ self::loginHelper(self::TEST_TRASHBIN_USER1);
+
// user1-1.txt and user1-3.txt should have been expired
$filesInTrashUser1AfterDelete = OCA\Files_Trashbin\Helper::getTrashFiles('/', self::TEST_TRASHBIN_USER1);