summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-10-15 15:47:13 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-16 21:41:51 +0200
commite4364426e237b58b7769d2a289a2e63d246b2e9c (patch)
tree1e070dbd1423919b731e4d041c7257f1e09cff32 /apps/files_trashbin/tests
parent2e8232e80393cb88ba96dd4f3027fcfd4c4f64e3 (diff)
downloadnextcloud-server-e4364426e237b58b7769d2a289a2e63d246b2e9c.tar.gz
nextcloud-server-e4364426e237b58b7769d2a289a2e63d246b2e9c.zip
Fix listing of trash files in test
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 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);