summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/view.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php
index 86413c61aa1..66edd3164ef 100644
--- a/tests/lib/files/view.php
+++ b/tests/lib/files/view.php
@@ -74,6 +74,8 @@ class View extends \Test\TestCase {
protected function setUp() {
parent::setUp();
\OC_Hook::clear();
+ $storageFactory = \OC\Files\Filesystem::getLoader();
+ $this->invokePrivate($storageFactory, 'storageWrappers', [[]]);
\OC_User::clearBackends();
\OC_User::useBackend(new \Test\Util\User\Dummy());