Merge branch 'QA_5_0'
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
commit
f28442c1a2
@ -96,6 +96,13 @@ class LanguageManager
|
||||
'be[-_]lat|be@latin|belarusian latin',
|
||||
'',
|
||||
],
|
||||
'ber' => [
|
||||
'ber',
|
||||
'Berber',
|
||||
'Tamaziɣt',
|
||||
'ber|berber',
|
||||
'',
|
||||
],
|
||||
'bg' => [
|
||||
'bg',
|
||||
'Bulgarian',
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit bootstrap="test/bootstrap-dist.php"
|
||||
backupGlobals="false"
|
||||
backupStaticAttributes="false"
|
||||
colors="true"
|
||||
verbose="true">
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.5/phpunit.xsd"
|
||||
bootstrap="test/bootstrap-dist.php"
|
||||
backupGlobals="false"
|
||||
backupStaticAttributes="false"
|
||||
colors="true"
|
||||
verbose="true">
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="Classes">
|
||||
|
||||
@ -87,7 +87,12 @@ class LanguageTest extends AbstractTestCase
|
||||
|
||||
/* Ensure we have name for every language */
|
||||
foreach ($langs as $lang) {
|
||||
$this->assertNotEquals($lang->getCode(), strtolower($lang->getEnglishName()));
|
||||
$this->assertNotEquals(
|
||||
$lang->getCode(),
|
||||
strtolower($lang->getEnglishName()),
|
||||
'Maybe this language does not exist in LanguageManager class'
|
||||
. ', see: https://github.com/phpmyadmin/phpmyadmin/issues/16300.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user