summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-01-28 13:07:19 +0100
committerRobin Appelman <icewind@owncloud.com>2016-01-29 14:51:30 +0100
commit6b18134ceb0fd46d5b5796c1bd396a93865722c2 (patch)
treee4294f1124b485ac97432b16148a08eb233720ee /apps/files_external/tests
parentd0f56876877d5681a6faf5e8882c4de48a9bd4dc (diff)
downloadnextcloud-server-6b18134ceb0fd46d5b5796c1bd396a93865722c2.tar.gz
nextcloud-server-6b18134ceb0fd46d5b5796c1bd396a93865722c2.zip
inject logger
Diffstat (limited to 'apps/files_external/tests')
-rw-r--r--apps/files_external/tests/controller/globalstoragescontrollertest.php3
-rw-r--r--apps/files_external/tests/controller/userstoragescontrollertest.php3
2 files changed, 4 insertions, 2 deletions
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')
);
}