mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Remove trashbin storage wrapper when disabling it for tests
This commit is contained in:
parent
08a9d1d2dc
commit
5803a1f5f7
1 changed files with 3 additions and 0 deletions
|
|
@ -55,6 +55,9 @@ class DeleteOrphanedSharesJobTest extends \Test\TestCase {
|
|||
$appManager = \OC::$server->getAppManager();
|
||||
self::$trashBinStatus = $appManager->isEnabledForUser('files_trashbin');
|
||||
$appManager->disableApp('files_trashbin');
|
||||
|
||||
// just in case...
|
||||
\OC\Files\Filesystem::getLoader()->removeStorageWrapper('oc_trashbin');
|
||||
}
|
||||
|
||||
public static function tearDownAfterClass() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue