From 8e511c16ff125c36dd27ceab0e1f93013bd81d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 21 Jul 2011 11:47:00 +0200 Subject: [PATCH] I've simplified this too much Each test needs different params. --- test/libraries/common/PMA_showDocu_test.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 = '' . __('Documentation') . ''; @@ -32,6 +33,8 @@ class PMA_showDocu_test extends PHPUnit_Framework_TestCase function testShowDocuNotReplaceHelpImg() { + $GLOBALS['cfg']['ReplaceHelpImg'] = false; + $anchor = "relation"; $expected = '[' . __('Documentation') . ']';