summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/tests
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/tests')
-rw-r--r--apps/files_trashbin/tests/TrashbinTest.php2
1 files changed, 1 insertions, 1 deletions
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