You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-29 21:24:44 +03:00
Fix more failing tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
@@ -385,16 +385,7 @@ class Node_Test extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testGetPresenceWithEnabledIS()
|
||||
{
|
||||
if (! isset($GLOBALS['cfg'])) {
|
||||
$GLOBALS['cfg'] = array();
|
||||
}
|
||||
if (! isset($GLOBALS['cfg']['Servers'])) {
|
||||
$GLOBALS['cfg']['Servers'] = array();
|
||||
}
|
||||
if (! isset($GLOBALS['cfg']['Servers'][0])) {
|
||||
$GLOBALS['cfg']['Servers'][0] = array();
|
||||
}
|
||||
$GLOBALS['cfg']['Servers'][0]['DisableIS'] = false;
|
||||
$GLOBALS['cfg']['Server']['DisableIS'] = false;
|
||||
$GLOBALS['cfg']['NavigationTreeDbSeparator'] = '_';
|
||||
|
||||
$query = "select COUNT(*) ";
|
||||
@@ -427,16 +418,7 @@ class Node_Test extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testGetPresenceWithDisabledIS()
|
||||
{
|
||||
if (! isset($GLOBALS['cfg'])) {
|
||||
$GLOBALS['cfg'] = array();
|
||||
}
|
||||
if (! isset($GLOBALS['cfg']['Servers'])) {
|
||||
$GLOBALS['cfg']['Servers'] = array();
|
||||
}
|
||||
if (! isset($GLOBALS['cfg']['Servers'][0])) {
|
||||
$GLOBALS['cfg']['Servers'][0] = array();
|
||||
}
|
||||
$GLOBALS['cfg']['Servers'][0]['DisableIS'] = true;
|
||||
$GLOBALS['cfg']['Server']['DisableIS'] = true;
|
||||
|
||||
$node = PMA_NodeFactory::getInstance();
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ class PMA_Structure_Test extends PHPUnit_Framework_TestCase
|
||||
$GLOBALS['cfg']['ShowSQL'] = true;
|
||||
$GLOBALS['cfg']['TableNavigationLinksMode'] = 'icons';
|
||||
$GLOBALS['cfg']['LimitChars'] = 100;
|
||||
$GLOBALS['cfg']['Server']['DisableIS'] = false;
|
||||
|
||||
$GLOBALS['table'] = "table";
|
||||
$GLOBALS['pmaThemeImage'] = 'image';
|
||||
|
||||
Reference in New Issue
Block a user