summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/activity.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-10-02 09:54:35 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-10-02 10:01:33 +0200
commit17ab8e6c397011059b589da72a5d59cce8b65c7d (patch)
treea05d8b73b7d88952bc6c337d2bf2543cce8ed0b2 /apps/files_sharing/tests/activity.php
parentf3864c5444a7e56602d25d82ad13c0d79522c97d (diff)
downloadnextcloud-server-17ab8e6c397011059b589da72a5d59cce8b65c7d.tar.gz
nextcloud-server-17ab8e6c397011059b589da72a5d59cce8b65c7d.zip
Use shorter text on the sidebar for files_sharing activities
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()
);