From f2b5db7c04ee9f224630215c7a72c81e88920683 Mon Sep 17 00:00:00 2001 From: adamgsoc2013 Date: Mon, 20 May 2013 21:07:38 +0800 Subject: [PATCH] fix the test case error due to fontsize setting --- test/classes/PMA_Config_test.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/classes/PMA_Config_test.php b/test/classes/PMA_Config_test.php index 808d3a3aa6..4120e0c426 100644 --- a/test/classes/PMA_Config_test.php +++ b/test/classes/PMA_Config_test.php @@ -74,6 +74,8 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase ); //test getFontsizeOptions for "em" unit + $fontsize = $GLOBALS['PMA_Config']->get('fontsize'); + $GLOBALS['PMA_Config']->set('fontsize', ''); $_COOKIE['pma_fontsize'] = "10em"; $this->assertContains( '