Skip to content

Commit a305224

Browse files
committed
Fix Selenium\TriggersTest failing test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 378a963 commit a305224

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎test/selenium/TriggersTest.php‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ function (): void {
114114
// test trigger
115115
$this->dbQuery('USE `' . $this->databaseName . '`;INSERT INTO `test_table` (val) VALUES (1);');
116116
$this->dbQuery(
117-
'SELECT val FROM `' . $this->databaseName . '`.`test_table2`;',
117+
'SELECT * FROM `' . $this->databaseName . '`.`test_table2`;',
118118
function (): void {
119119
$this->assertTrue($this->isElementPresent('className', 'table_results'));
120120
// [ ] | Edit | Copy | Delete | 1 | 3
121-
$this->assertEquals('3', $this->getCellByTableClass('table_results', 1, 5));
121+
$this->assertEquals('3', $this->getCellByTableClass('table_results', 1, 6));
122122
},
123123
);
124124
}
@@ -151,11 +151,11 @@ public function testEditTriggers(): void
151151
// test trigger
152152
$this->dbQuery('USE `' . $this->databaseName . '`;INSERT INTO `test_table` (val) VALUES (1);');
153153
$this->dbQuery(
154-
'SELECT val FROM `' . $this->databaseName . '`.`test_table2`;',
154+
'SELECT * FROM `' . $this->databaseName . '`.`test_table2`;',
155155
function (): void {
156156
$this->assertTrue($this->isElementPresent('className', 'table_results'));
157157
// [ ] | Edit | Copy | Delete | 1 | 12
158-
$this->assertEquals('12', $this->getCellByTableClass('table_results', 1, 5));
158+
$this->assertEquals('12', $this->getCellByTableClass('table_results', 1, 6));
159159
},
160160
);
161161
}
@@ -182,11 +182,11 @@ public function testDropTrigger(): void
182182
// test trigger
183183
$this->dbQuery('USE `' . $this->databaseName . '`;INSERT INTO `test_table` (val) VALUES (1);');
184184
$this->dbQuery(
185-
'SELECT val FROM `' . $this->databaseName . '`.`test_table2`;',
185+
'SELECT * FROM `' . $this->databaseName . '`.`test_table2`;',
186186
function (): void {
187187
$this->assertTrue($this->isElementPresent('className', 'table_results'));
188188
// [ ] | Edit | Copy | Delete | 1 | 2
189-
$this->assertEquals('2', $this->getCellByTableClass('table_results', 1, 5));
189+
$this->assertEquals('2', $this->getCellByTableClass('table_results', 1, 6));
190190
},
191191
);
192192

0 commit comments

Comments
 (0)