summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/activity.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/activity.php')
-rw-r--r--apps/files_sharing/tests/activity.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/activity.php b/apps/files_sharing/tests/activity.php
index 53a306b70f7..f7f324cdfc3 100644
--- a/apps/files_sharing/tests/activity.php
+++ b/apps/files_sharing/tests/activity.php
@@ -36,7 +36,10 @@ class Activity extends \OCA\Files_Sharing\Tests\TestCase{
parent::setUp();
$this->activity = new \OCA\Files_Sharing\Activity(
$this->getMock('\OC\L10N\Factory'),
- $this->getMockBuilder('\OC\URLGenerator')
+ $this->getMockBuilder('\OCP\IURLGenerator')
+ ->disableOriginalConstructor()
+ ->getMock(),
+ $this->getMockBuilder('\OCP\Activity\IManager')
->disableOriginalConstructor()
->getMock()
);