From 78d00ff0852a6199cc7ca33db6308f7bdd09b5a6 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 31 Oct 2019 19:36:34 +0100 Subject: fix tests? Signed-off-by: Roeland Jago Douma --- apps/files_trashbin/tests/TrashbinTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_trashbin') 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 -- cgit v1.2.3