Include some possibly missing variables

This commit is contained in:
Michal Čihař 2013-02-12 14:09:06 +01:00
parent 8f159ee62c
commit d64daa0cdb

View File

@ -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();
}