summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-10-01 09:42:50 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-10-01 09:42:50 +0200
commit094f5bcc781da0248ede16c59b1a6d027073c0da (patch)
tree5e354da43e3815f800fa753df56580b633282714 /tests
parent79f534610535bbabb74ac3e009ae0c764814f3bb (diff)
downloadnextcloud-server-094f5bcc781da0248ede16c59b1a6d027073c0da.tar.gz
nextcloud-server-094f5bcc781da0248ede16c59b1a6d027073c0da.zip
make sure that we re-load the file system after the quota was set
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/util.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/util.php b/tests/lib/util.php
index a2efcca2603..f127e80d025 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 . '/');