mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
test unset
This commit is contained in:
parent
267e03ace2
commit
e366ba703c
1 changed files with 5 additions and 2 deletions
|
|
@ -339,8 +339,11 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase {
|
|||
self::tearDownAfterClassCleanStrayLocks();
|
||||
|
||||
/** @var Factory $appDataFactory */
|
||||
$appDataFactory = Server::get(Factory::class);
|
||||
$appDataFactory->clearFilesystemCache();
|
||||
//$appDataFactory = Server::get(Factory::class);
|
||||
//$appDataFactory->clearFilesystemCache();
|
||||
|
||||
unset(\OC::$server[\OC\Files\AppData\Factory::class]);
|
||||
unset(\OC::$server[\OC\App\AppStore\Fetcher\AppFetcher::class]);
|
||||
|
||||
/** @var SetupManager $setupManager */
|
||||
$setupManager = Server::get(SetupManager::class);
|
||||
|
|
|
|||
Loading…
Reference in a new issue