Visitar URL original
Fix Selenium\Database\EventsTest failing test · phpmyadmin/phpmyadmin@55c9f65 · GitHub
Skip to content

Commit 55c9f65

Browse files
committed
Fix Selenium\Database\EventsTest failing test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 6c0f4fa commit 55c9f65

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎test/selenium/Database/EventsTest.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ function (): void {
145145

146146
sleep(2);
147147
$this->dbQuery(
148-
'SELECT val FROM `' . $this->databaseName . '`.`test_table`',
148+
'SELECT * FROM `' . $this->databaseName . '`.`test_table`',
149149
function (): void {
150150
$this->assertTrue($this->isElementPresent('className', 'table_results'));
151151
// [ ] | Edit | Copy | Delete | 1 | <number>
152-
$this->assertGreaterThan(2, (int) $this->getCellByTableClass('table_results', 1, 5));
152+
$this->assertGreaterThan(2, (int) $this->getCellByTableClass('table_results', 1, 6));
153153
},
154154
);
155155
}
@@ -180,11 +180,11 @@ public function testEditEvents(): void
180180

181181
sleep(2);
182182
$this->dbQuery(
183-
'SELECT val FROM `' . $this->databaseName . '`.`test_table`',
183+
'SELECT * FROM `' . $this->databaseName . '`.`test_table`',
184184
function (): void {
185185
$this->assertTrue($this->isElementPresent('className', 'table_results'));
186186
// [ ] | Edit | Copy | Delete | 4
187-
$this->assertGreaterThan(3, (int) $this->getCellByTableClass('table_results', 1, 5));
187+
$this->assertGreaterThan(3, (int) $this->getCellByTableClass('table_results', 1, 6));
188188
},
189189
);
190190
}

0 commit comments

Comments
 (0)