diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-15 11:09:37 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-26 14:02:31 +0100 |
commit | 043625ee522357e25bb786c4b439c90ab21bbfd1 (patch) | |
tree | 633c64268cb5a302436ba61d20eeb7eaf7a5e516 /tests/lib | |
parent | 29a93064299f57584c6aadc8a6c56b51715d7269 (diff) | |
download | nextcloud-server-043625ee522357e25bb786c4b439c90ab21bbfd1.tar.gz nextcloud-server-043625ee522357e25bb786c4b439c90ab21bbfd1.zip |
Move findLanguage() and setLanguageFromRequest() to factory
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/l10n.php | 2 |
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()); } |