From d64daa0cdb4489c2a5dc4307d5b403eb617ef8fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 12 Feb 2013 14:09:06 +0100 Subject: [PATCH] Include some possibly missing variables --- test/libraries/core/PMA_headerLocation_test.php | 6 ++++++ 1 file changed, 6 insertions(+) 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(); }