summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-18 10:05:46 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-26 14:02:32 +0100
commitd46cd6a24561aa44f0a0d27fec9da78a83428eb2 (patch)
treec06a56b32dc15d66d550070de843d9d7ddb9bf2c /apps
parentf413b3ff3a7d4be4e8e4072c354ea3228f4110d5 (diff)
downloadnextcloud-server-d46cd6a24561aa44f0a0d27fec9da78a83428eb2.tar.gz
nextcloud-server-d46cd6a24561aa44f0a0d27fec9da78a83428eb2.zip
Fix tests
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/tests/activity.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/files_sharing/tests/activity.php b/apps/files_sharing/tests/activity.php
index b3575b0b709..40a1031f779 100644
--- a/apps/files_sharing/tests/activity.php
+++ b/apps/files_sharing/tests/activity.php
@@ -41,11 +41,13 @@ class Activity extends \OCA\Files_Sharing\Tests\TestCase {
protected function setUp() {
parent::setUp();
$this->activity = new \OCA\Files_Sharing\Activity(
- $this->getMock('\OC\L10N\Factory'),
- $this->getMockBuilder('\OCP\IURLGenerator')
+ $this->getMockBuilder('OCP\L10N\IFactory')
->disableOriginalConstructor()
->getMock(),
- $this->getMockBuilder('\OCP\Activity\IManager')
+ $this->getMockBuilder('OCP\IURLGenerator')
+ ->disableOriginalConstructor()
+ ->getMock(),
+ $this->getMockBuilder('OCP\Activity\IManager')
->disableOriginalConstructor()
->getMock()
);