Skip to content

Commit

Permalink
add $GLOBALS['cfg']['DBG']['sql'] = false; for UI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
xmujay committed Jul 4, 2013
1 parent becf6d5 commit 73f9ae3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/libraries/PMA_server_collations_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"ch" => array("Chinese", "TW-Chinese")
);
$GLOBALS['text_dir'] = "text_dir";

$GLOBALS['cfg']['DBG']['sql'] = false;
//$_SESSION
require_once 'libraries/Theme.class.php';
$_SESSION['PMA_Theme'] = PMA_Theme::load('./themes/pmahomme');
Expand Down
4 changes: 2 additions & 2 deletions test/libraries/PMA_server_plugins_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public function setUp()
$GLOBALS['cfg']['SQP']['fmtType'] = 'none';
$GLOBALS['cfg']['TableNavigationLinksMode'] = 'icons';
$GLOBALS['cfg']['LimitChars'] = 100;
$GLOBALS['cfg']['DBG']['sql'] = false;

$GLOBALS['table'] = "table";
$GLOBALS['pmaThemeImage'] = 'image';
Expand Down Expand Up @@ -87,8 +88,7 @@ public function testPMA_getPluginAndModuleInfo()
$plugins[$row['plugin_type']][] = $row;
$modules[$row['module_name']]['info'] = $row;
$modules[$row['module_name']]['plugins'][$row['plugin_type']][] = $row;



$html = PMA_getPluginAndModuleInfo($plugins, $modules);


Expand Down

0 comments on commit 73f9ae3

Please sign in to comment.