aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/L10N
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/L10N')
-rw-r--r--tests/lib/L10N/FactoryTest.php6
-rw-r--r--tests/lib/L10N/L10nTest.php1
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/lib/L10N/FactoryTest.php b/tests/lib/L10N/FactoryTest.php
index 4d35aeabc91..33667e26fe8 100644
--- a/tests/lib/L10N/FactoryTest.php
+++ b/tests/lib/L10N/FactoryTest.php
@@ -419,7 +419,7 @@ class FactoryTest extends TestCase {
->willReturn($availableLanguages);
$factory->expects($this->any())
- ->method('respectDefaultLanguage')->willReturnCallback(function($app, $lang) {
+ ->method('respectDefaultLanguage')->willReturnCallback(function ($app, $lang) {
return $lang;
});
@@ -510,7 +510,7 @@ class FactoryTest extends TestCase {
$this->config->expects($this->any())
->method('getSystemValue')
- ->willReturnCallback(function($var, $default) use ($defaultLang) {
+ ->willReturnCallback(function ($var, $default) use ($defaultLang) {
if ($var === 'installed') {
return true;
} else if ($var === 'default_language') {
@@ -558,7 +558,7 @@ class FactoryTest extends TestCase {
return $availableLang;
});
$factory->expects($this->any())
- ->method('respectDefaultLanguage')->willReturnCallback(function($app, $lang) {
+ ->method('respectDefaultLanguage')->willReturnCallback(function ($app, $lang) {
return $lang;
});
diff --git a/tests/lib/L10N/L10nTest.php b/tests/lib/L10N/L10nTest.php
index b2e7d5ebfc9..0de09386fba 100644
--- a/tests/lib/L10N/L10nTest.php
+++ b/tests/lib/L10N/L10nTest.php
@@ -8,7 +8,6 @@
namespace Test\L10N;
-
use DateTime;
use OC\L10N\Factory;
use OC\L10N\L10N;