summaryrefslogtreecommitdiffstats
path: root/tests/lib/l10n.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/l10n.php')
-rw-r--r--tests/lib/l10n.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/l10n.php b/tests/lib/l10n.php
index d77548c5bf5..eb0d9117517 100644
--- a/tests/lib/l10n.php
+++ b/tests/lib/l10n.php
@@ -157,7 +157,7 @@ class Test_L10n extends \Test\TestCase {
}
public function testFactoryGetLanguageCode() {
- $factory = new \OC\L10N\Factory();
+ $factory = new \OC\L10N\Factory($this->getMock('OCP\IConfig'), $this->getMock('OCP\IRequest'));
$l = $factory->get('lib', 'de');
$this->assertEquals('de', $l->getLanguageCode());
}