summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-10-31 19:36:34 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-10-31 19:36:34 +0100
commit78d00ff0852a6199cc7ca33db6308f7bdd09b5a6 (patch)
tree528a6659ba8ceef17f5924bdcaa71b9183fe040d /apps/files_trashbin
parent12c13b86d878986e180c4383541a11dbfb90f8b8 (diff)
downloadnextcloud-server-78d00ff0852a6199cc7ca33db6308f7bdd09b5a6.tar.gz
nextcloud-server-78d00ff0852a6199cc7ca33db6308f7bdd09b5a6.zip
fix tests?
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_trashbin')
-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 ae10e273075..590e044b728 100644
--- a/apps/files_trashbin/tests/TrashbinTest.php
+++ b/apps/files_trashbin/tests/TrashbinTest.php
@@ -67,7 +67,7 @@ class TrashbinTest extends \Test\TestCase {
// clear share hooks
\OC_Hook::clear('OCP\\Share');
\OC::registerShareHooks();
- $application = new \OCA\Files_Sharing\AppInfo\Application();
+ $application = \OC::$server->query(\OCA\Files_Sharing\AppInfo\Application::class);
$application->registerMountProviders();
//disable encryption