Visitar URL original
Fix Tests\TableTest::testGetColumns() failing test · phpmyadmin/phpmyadmin@e963d66 · GitHub
Skip to content

Commit e963d66

Browse files
committed
Fix Tests\TableTest::testGetColumns() failing test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent a52667e commit e963d66

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎test/classes/TableTest.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use PhpMyAdmin\Index;
1111
use PhpMyAdmin\ListDatabase;
1212
use PhpMyAdmin\Query\Cache;
13+
use PhpMyAdmin\SqlParser\Context;
1314
use PhpMyAdmin\Table;
1415
use PhpMyAdmin\Tests\Stubs\DbiDummy;
1516
use PhpMyAdmin\Tests\Stubs\DummyResult;
@@ -1215,6 +1216,7 @@ public function testGetSqlQueryForIndexCreateOrEditSecondFormat(): void
12151216
*/
12161217
public function testGetColumns(): void
12171218
{
1219+
Context::load();
12181220
$table = 'PMA_BookMark';
12191221
$db = 'PMA';
12201222

0 commit comments

Comments
 (0)