diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-10-31 19:36:34 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-10-31 19:36:34 +0100 |
commit | 78d00ff0852a6199cc7ca33db6308f7bdd09b5a6 (patch) | |
tree | 528a6659ba8ceef17f5924bdcaa71b9183fe040d /apps | |
parent | 12c13b86d878986e180c4383541a11dbfb90f8b8 (diff) | |
download | nextcloud-server-78d00ff0852a6199cc7ca33db6308f7bdd09b5a6.tar.gz nextcloud-server-78d00ff0852a6199cc7ca33db6308f7bdd09b5a6.zip |
fix tests?
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/tests/TrashbinTest.php | 2 |
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 |