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());