[Pkg-owncloud-commits] [owncloud] 41/129: Fix listing of trash files in test

David Prévot taffit at moszumanska.debian.org
Thu Nov 5 01:04:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 541474d5ecf23837c3bd5f7eee5557e2132ce268
Author: Robin Appelman <icewind at owncloud.com>
Date:   Thu Oct 15 15:47:13 2015 +0200

    Fix listing of trash files in test
---
 apps/files_trashbin/tests/trashbin.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/apps/files_trashbin/tests/trashbin.php b/apps/files_trashbin/tests/trashbin.php
index f8e11b0..e28b854 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);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list