Clear the storage wrappers after clearing the hooks
This commit is contained in:
parent
3cb7672b06
commit
8ab26381a4
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue