[Pkg-owncloud-commits] [owncloud] 153/258: make sure that we re-load the file system after the quota was set

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:22:31 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

commit 094f5bcc781da0248ede16c59b1a6d027073c0da
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Wed Oct 1 09:42:50 2014 +0200

    make sure that we re-load the file system after the quota was set
---
 tests/lib/util.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/lib/util.php b/tests/lib/util.php
index a2efcca..f127e80 100644
--- a/tests/lib/util.php
+++ b/tests/lib/util.php
@@ -150,6 +150,8 @@ class Test_Util extends PHPUnit_Framework_TestCase {
 		OC_Preferences::setValue($user1, 'files', 'quota', '1024');
 		\OC_User::setUserId($user1);
 
+		// make sure that we set up the file system again after the quota was set
+		\OC_Util::tearDownFS();
 		\OC_Util::setupFS($user1);
 
 		$userMount = \OC\Files\Filesystem::getMountManager()->find('/' . $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