File tree Expand file tree Collapse file tree
test/classes/Controllers/Table Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments