aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-11-18 10:34:52 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-11-30 17:14:47 +0100
commite9094b8a41e81fbd4f86aae5a4cadcab0674d93c (patch)
tree7f46a44553954348a6adb4194f0235669d754ecb /apps/files/tests
parent6e0596432c174b73d11b5bfba04f53108d788d9a (diff)
downloadnextcloud-server-e9094b8a41e81fbd4f86aae5a4cadcab0674d93c.tar.gz
nextcloud-server-e9094b8a41e81fbd4f86aae5a4cadcab0674d93c.zip
Only require the interface
Diffstat (limited to 'apps/files/tests')
-rw-r--r--apps/files/tests/activitytest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/files/tests/activitytest.php b/apps/files/tests/activitytest.php
index f6a21a7db62..6a3424e727a 100644
--- a/apps/files/tests/activitytest.php
+++ b/apps/files/tests/activitytest.php
@@ -30,19 +30,19 @@ class ActivityTest extends TestCase {
/** @var \OC\ActivityManager */
private $activityManager;
- /** @var \PHPUnit_Framework_MockObject_MockObject */
+ /** @var \OCP\IRequest|\PHPUnit_Framework_MockObject_MockObject */
protected $request;
- /** @var \PHPUnit_Framework_MockObject_MockObject */
+ /** @var \OCP\IUserSession|\PHPUnit_Framework_MockObject_MockObject */
protected $session;
- /** @var \PHPUnit_Framework_MockObject_MockObject */
+ /** @var \OCP\IConfig|\PHPUnit_Framework_MockObject_MockObject */
protected $config;
- /** @var \PHPUnit_Framework_MockObject_MockObject */
+ /** @var \OCA\Files\ActivityHelper|\PHPUnit_Framework_MockObject_MockObject */
protected $activityHelper;
- /** @var \PHPUnit_Framework_MockObject_MockObject */
+ /** @var \OCP\L10N\IFactory|\PHPUnit_Framework_MockObject_MockObject */
protected $l10nFactory;
/** @var \OCA\Files\Activity */
@@ -70,7 +70,7 @@ class ActivityTest extends TestCase {
$this->config
);
- $this->l10nFactory = $this->getMockBuilder('OC\L10N\Factory')
+ $this->l10nFactory = $this->getMockBuilder('OCP\L10N\IFactory')
->disableOriginalConstructor()
->getMock();
$deL10n = $this->getMockBuilder('OC_L10N')