Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2021-04-22 21:50:36 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2021-04-22 21:51:26 +0300
commitf19a3d95c46de16764bcf7ab41a27f0e315c2148 (patch)
tree9ab8d742732d1b470b1551f314ba53f5b5208452 /test/classes
parentf1e4b4af471bf0c76c3338a175978e8d271af8d2 (diff)
Remove LanguageManager::getSelectorDisplay method
Redesign the language selector to use Bootstrap style. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test/classes')
-rw-r--r--test/classes/Plugins/Auth/AuthenticationCookieTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/classes/Plugins/Auth/AuthenticationCookieTest.php b/test/classes/Plugins/Auth/AuthenticationCookieTest.php
index ba94b8acaf..1e8f7cb919 100644
--- a/test/classes/Plugins/Auth/AuthenticationCookieTest.php
+++ b/test/classes/Plugins/Auth/AuthenticationCookieTest.php
@@ -299,8 +299,8 @@ class AuthenticationCookieTest extends AbstractNetworkTestCase
$loc = LOCALE_PATH . '/cs/LC_MESSAGES/phpmyadmin.mo';
if (is_readable($loc)) {
$this->assertStringContainsString(
- '<select name="lang" class="autosubmit" lang="en" dir="ltr" ' .
- 'id="sel-lang">',
+ '<select name="lang" class="form-select autosubmit" lang="en" dir="ltr"'
+ . ' id="languageSelect" aria-labelledby="languageSelectLabel">',
$result
);
}
@@ -379,8 +379,8 @@ class AuthenticationCookieTest extends AbstractNetworkTestCase
$loc = LOCALE_PATH . '/cs/LC_MESSAGES/phpmyadmin.mo';
if (is_readable($loc)) {
$this->assertStringContainsString(
- '<select name="lang" class="autosubmit" lang="en" dir="ltr" ' .
- 'id="sel-lang">',
+ '<select name="lang" class="form-select autosubmit" lang="en" dir="ltr"'
+ . ' id="languageSelect" aria-labelledby="languageSelectLabel">',
$result
);
}