diff --git a/test/libraries/common/PMA_showDocu_test.php b/test/libraries/common/PMA_showDocu_test.php
index a0c12c4d56..b11f12d5dd 100644
--- a/test/libraries/common/PMA_showDocu_test.php
+++ b/test/libraries/common/PMA_showDocu_test.php
@@ -17,12 +17,13 @@ class PMA_showDocu_test extends PHPUnit_Framework_TestCase
{
function setup()
{
- $GLOBALS['cfg']['ReplaceHelpImg'] = true;
$GLOBALS['pmaThemeImage'] = 'theme/';
}
function testShowDocuReplaceHelpImg()
{
+ $GLOBALS['cfg']['ReplaceHelpImg'] = true;
+
$anchor = "relation";
$expected = '
';
@@ -32,6 +33,8 @@ class PMA_showDocu_test extends PHPUnit_Framework_TestCase
function testShowDocuNotReplaceHelpImg()
{
+ $GLOBALS['cfg']['ReplaceHelpImg'] = false;
+
$anchor = "relation";
$expected = '[' . __('Documentation') . ']';