diff --git a/test/classes/ConfigStorage/RelationTest.php b/test/classes/ConfigStorage/RelationTest.php index 8de291d837..7ad2610fee 100644 --- a/test/classes/ConfigStorage/RelationTest.php +++ b/test/classes/ConfigStorage/RelationTest.php @@ -1939,13 +1939,17 @@ class RelationTest extends AbstractTestCase ['NULL'], ); + $dummyDbi->addResult( + 'SELECT `tables` FROM `PMA-storage`.`pma__favorite_custom` WHERE `username` = \'\'', + [], + ); $dummyDbi->addResult( 'SELECT `tables` FROM `PMA-storage`.`pma__favorite_custom` WHERE `username` = \'\'', [], ); $_SESSION['relation'] = []; - $_SESSION['tmpval'] = []; + (new ReflectionClass(Relation::class))->getProperty('cache')->setValue([]); $relation = new Relation($dbi); $relation->initRelationParamsCache();