The branch, master has been updated via efee7ec87094a31885adfe96e7667733a1c763aa (commit) from 43161e7876fc27975ea27e44d21401d5cbcb95ab (commit)
- Log ----------------------------------------------------------------- commit efee7ec87094a31885adfe96e7667733a1c763aa Author: Michal Čihař mcihar@suse.cz Date: Fri Aug 5 16:10:31 2011 +0200
Definie missing variable
-----------------------------------------------------------------------
Summary of changes: .../rte/PMA_RTN_getDataFromRequest_test.php | 3 +++ test/libraries/rte/PMA_RTN_getEditorForm_test.php | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/test/libraries/rte/PMA_RTN_getDataFromRequest_test.php b/test/libraries/rte/PMA_RTN_getDataFromRequest_test.php index 1a75ca7..db61325 100644 --- a/test/libraries/rte/PMA_RTN_getDataFromRequest_test.php +++ b/test/libraries/rte/PMA_RTN_getDataFromRequest_test.php @@ -18,6 +18,9 @@ class PMA_RTN_getDataFromRequest_test extends PHPUnit_Framework_TestCase { public function setUp() { + global $cfg; + + $cfg['ShowFunctionFields'] = false; require 'libraries/data_mysql.inc.php'; }
diff --git a/test/libraries/rte/PMA_RTN_getEditorForm_test.php b/test/libraries/rte/PMA_RTN_getEditorForm_test.php index ac1ba52..2fd0129 100644 --- a/test/libraries/rte/PMA_RTN_getEditorForm_test.php +++ b/test/libraries/rte/PMA_RTN_getEditorForm_test.php @@ -17,6 +17,9 @@ class PMA_RTN_getEditorForm_test extends PHPUnit_Framework_TestCase { public function setUp() { + global $cfg; + + $cfg['ShowFunctionFields'] = false; require 'libraries/data_mysql.inc.php';
if (! function_exists('PMA_generateCharsetDropdownBox')) {
hooks/post-receive