summaryrefslogtreecommitdiffstats
path: root/apps/federation/tests/Settings/AdminTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federation/tests/Settings/AdminTest.php')
-rw-r--r--apps/federation/tests/Settings/AdminTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/federation/tests/Settings/AdminTest.php b/apps/federation/tests/Settings/AdminTest.php
index e15fb5f8d2b..3d124d5c65a 100644
--- a/apps/federation/tests/Settings/AdminTest.php
+++ b/apps/federation/tests/Settings/AdminTest.php
@@ -26,6 +26,7 @@ namespace OCA\Federation\Tests\Settings;
use OCA\Federation\Settings\Admin;
use OCA\Federation\TrustedServers;
use OCP\AppFramework\Http\TemplateResponse;
+use OCP\IL10N;
use Test\TestCase;
class AdminTest extends TestCase {
@@ -38,7 +39,8 @@ class AdminTest extends TestCase {
parent::setUp();
$this->trustedServers = $this->getMockBuilder('\OCA\Federation\TrustedServers')->disableOriginalConstructor()->getMock();
$this->admin = new Admin(
- $this->trustedServers
+ $this->trustedServers,
+ $this->createMock(IL10N::class)
);
}