diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/tests/UpdaterTest.php | 2 | ||||
-rw-r--r-- | apps/files_trashbin/tests/TrashbinTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/UpdaterTest.php b/apps/files_sharing/tests/UpdaterTest.php index c8d089f54b4..2e044716d07 100644 --- a/apps/files_sharing/tests/UpdaterTest.php +++ b/apps/files_sharing/tests/UpdaterTest.php @@ -127,7 +127,7 @@ class UpdaterTest extends TestCase { $rootView->deleteAll('files_trashin'); if ($status === false) { - \OC_App::disable('files_trashbin'); + \OC::$server->getAppManager()->disableApp('files_trashbin'); } \OC\Files\Filesystem::getLoader()->removeStorageWrapper('oc_trashbin'); diff --git a/apps/files_trashbin/tests/TrashbinTest.php b/apps/files_trashbin/tests/TrashbinTest.php index 7e4cdb112e8..1121940c84e 100644 --- a/apps/files_trashbin/tests/TrashbinTest.php +++ b/apps/files_trashbin/tests/TrashbinTest.php @@ -71,7 +71,7 @@ class TrashbinTest extends \Test\TestCase { $application->registerMountProviders(); //disable encryption - \OC_App::disable('encryption'); + \OC::$server->getAppManager()->disableApp('encryption'); $config = \OC::$server->getConfig(); //configure trashbin |