Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-10-15 16:47:13 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-16 22:41:51 +0300
commite4364426e237b58b7769d2a289a2e63d246b2e9c (patch)
tree1e070dbd1423919b731e4d041c7257f1e09cff32 /apps/files_trashbin
parent2e8232e80393cb88ba96dd4f3027fcfd4c4f64e3 (diff)
Fix listing of trash files in test
Diffstat (limited to 'apps/files_trashbin')
-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);