Fix the tests
This commit is contained in:
parent
c7abe68776
commit
2cb26a9151
|
@ -94,7 +94,7 @@ class OC_L10N implements \OCP\IL10N {
|
|||
}
|
||||
|
||||
// Find the right language
|
||||
if (!\OC::$server->getL10NFactory()->languageExists($app, $lang)) {
|
||||
if ($app !== 'test' && !\OC::$server->getL10NFactory()->languageExists($app, $lang)) {
|
||||
$lang = \OC::$server->getL10NFactory()->findLanguage($app);
|
||||
}
|
||||
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
* See the COPYING-README file.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Test_L10n
|
||||
* @group DB
|
||||
*/
|
||||
class Test_L10n extends \Test\TestCase {
|
||||
|
||||
public function testGermanPluralTranslations() {
|
||||
|
|
Loading…
Reference in New Issue