Fix failing tests

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2014-10-09 18:56:49 +05:30
parent 719013f656
commit d441a217ec
2 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,7 @@ class PMA_NavigationTreeTest extends PHPUnit_Framework_TestCase
$GLOBALS['cfg']['Server']['host'] = 'localhost';
$GLOBALS['cfg']['Server']['user'] = 'root';
$GLOBALS['cfg']['Server']['pmadb'] = '';
$GLOBALS['cfg']['Server']['DisableIS'] = false;
$GLOBALS['pmaThemeImage'] = 'image';
$_SESSION['PMA_Theme'] = PMA_Theme::load('./themes/pmahomme');

View File

@ -26,6 +26,7 @@ class Node_Test extends PHPUnit_Framework_TestCase
public function setup()
{
$GLOBALS['server'] = 0;
$GLOBALS['cfg']['Server']['DisableIS'] = false;
$_SESSION['PMA_Theme'] = PMA_Theme::load('./themes/pmahomme');
}