Skip to content

Commit 0b37a84

Browse files
committed
Fix Table/DeleteConfirmControllerTest db name
Introduced by 49a3931. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent ab9f1c6 commit 0b37a84

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎test/classes/Controllers/Table/DeleteConfirmControllerTest.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ public function testDeleteConfirmController(): void
1818
{
1919
$GLOBALS['db'] = 'test_db';
2020
$GLOBALS['table'] = 'test_table';
21-
$GLOBALS['sql_query'] = 'SELECT * FROM `test_table`.`test_table`';
21+
$GLOBALS['sql_query'] = 'SELECT * FROM `test_db`.`test_table`';
2222
$_POST = [
2323
'db' => 'test_db',
2424
'table' => 'test_table',
2525
'rows_to_delete' => ['`test_table`.`id` = 2', '`test_table`.`id` = 3'],
26-
'sql_query' => 'SELECT * FROM `test_table`.`test_table`',
26+
'sql_query' => 'SELECT * FROM `test_db`.`test_table`',
2727
];
2828

2929
$this->dummyDbi->addSelectDb('test_db');
@@ -35,7 +35,7 @@ public function testDeleteConfirmController(): void
3535
'db' => 'test_db',
3636
'table' => 'test_table',
3737
'selected' => ['`test_table`.`id` = 2', '`test_table`.`id` = 3'],
38-
'sql_query' => 'SELECT * FROM `test_table`.`test_table`',
38+
'sql_query' => 'SELECT * FROM `test_db`.`test_table`',
3939
'is_foreign_key_check' => true,
4040
]);
4141

0 commit comments

Comments
 (0)