From 6b18134ceb0fd46d5b5796c1bd396a93865722c2 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 28 Jan 2016 13:07:19 +0100 Subject: inject logger --- apps/files_external/tests/controller/globalstoragescontrollertest.php | 3 ++- apps/files_external/tests/controller/userstoragescontrollertest.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/files_external/tests') diff --git a/apps/files_external/tests/controller/globalstoragescontrollertest.php b/apps/files_external/tests/controller/globalstoragescontrollertest.php index a3c911b511c..9256569f22a 100644 --- a/apps/files_external/tests/controller/globalstoragescontrollertest.php +++ b/apps/files_external/tests/controller/globalstoragescontrollertest.php @@ -41,7 +41,8 @@ class GlobalStoragesControllerTest extends StoragesControllerTest { 'files_external', $this->getMock('\OCP\IRequest'), $this->getMock('\OCP\IL10N'), - $this->service + $this->service, + $this->getMock('\OCP\ILogger') ); } } diff --git a/apps/files_external/tests/controller/userstoragescontrollertest.php b/apps/files_external/tests/controller/userstoragescontrollertest.php index 671e019fea0..342f6b85385 100644 --- a/apps/files_external/tests/controller/userstoragescontrollertest.php +++ b/apps/files_external/tests/controller/userstoragescontrollertest.php @@ -49,7 +49,8 @@ class UserStoragesControllerTest extends StoragesControllerTest { $this->getMock('\OCP\IRequest'), $this->getMock('\OCP\IL10N'), $this->service, - $this->getMock('\OCP\IUserSession') + $this->getMock('\OCP\IUserSession'), + $this->getMock('\OCP\ILogger') ); } -- cgit v1.2.3