Remove trashbin storage wrapper when disabling it for tests
This commit is contained in:
parent
08a9d1d2dc
commit
5803a1f5f7
|
@ -55,6 +55,9 @@ class DeleteOrphanedSharesJobTest extends \Test\TestCase {
|
||||||
$appManager = \OC::$server->getAppManager();
|
$appManager = \OC::$server->getAppManager();
|
||||||
self::$trashBinStatus = $appManager->isEnabledForUser('files_trashbin');
|
self::$trashBinStatus = $appManager->isEnabledForUser('files_trashbin');
|
||||||
$appManager->disableApp('files_trashbin');
|
$appManager->disableApp('files_trashbin');
|
||||||
|
|
||||||
|
// just in case...
|
||||||
|
\OC\Files\Filesystem::getLoader()->removeStorageWrapper('oc_trashbin');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function tearDownAfterClass() {
|
public static function tearDownAfterClass() {
|
||||||
|
|
Loading…
Reference in New Issue