From bb00f429f2083fa3639369eaf6ff8cffbb9a68cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Fri, 11 Feb 2022 15:14:22 -0300 Subject: [PATCH] Fix `PhpMyAdmin\Tests\Selenium\Table\CreateTest` failing test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related to f911458b71ea1871edcdb8aa72f01cffb6ca0a1d. Signed-off-by: MaurĂ­cio Meneghini Fauth --- test/selenium/Table/CreateTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/selenium/Table/CreateTest.php b/test/selenium/Table/CreateTest.php index 54c67e8f2f..8faed4697d 100644 --- a/test/selenium/Table/CreateTest.php +++ b/test/selenium/Table/CreateTest.php @@ -65,7 +65,7 @@ class CreateTest extends TestBase $column_dropdown_details = [ 'field_0_6' => 'UNSIGNED', 'field_1_2' => 'VARCHAR', - 'field_1_5' => 'utf8_general_ci', + 'field_1_5' => 'utf8mb4_general_ci', 'field_1_4' => 'As defined:', ]; @@ -83,7 +83,7 @@ class CreateTest extends TestBase $this->moveto($ele); // post $ele->click(); - $this->waitForElement('cssSelector', 'li.last.table'); + $this->waitForElement('cssSelector', 'li.last.nav_node_table'); $this->waitAjax(); @@ -162,7 +162,7 @@ class CreateTest extends TestBase ); $this->assertEquals( - 'utf8_general_ci', + 'utf8mb4_general_ci', $this->getCellByTableId('tablestructure', 2, 5) );