diff --git a/test/libraries/core/PMA_headerLocation_test.php b/test/libraries/core/PMA_headerLocation_test.php index 61915b6b0f..c89cb29c59 100644 --- a/test/libraries/core/PMA_headerLocation_test.php +++ b/test/libraries/core/PMA_headerLocation_test.php @@ -130,6 +130,12 @@ class PMA_headerLocation_test extends PHPUnit_Framework_TestCase } } + $_SESSION[' PMA_token '] = 'token'; + $GLOBALS['lang'] = 'en'; + $_SESSION['PMA_Theme'] = PMA_Theme::load('./themes/pmahomme'); + $GLOBALS['server'] = 0; + $GLOBALS['PMA_Config'] = new PMA_Config(); + $GLOBALS['PMA_Config']->enableBc(); }