Skip to content

Commit

Permalink
Fix failing existing PHPUnit tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
  • Loading branch information
JayNakrani committed Jun 16, 2014
1 parent 6d04bc1 commit 7393745
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/classes/PMA_Error_Handler_test.php
Expand Up @@ -107,7 +107,7 @@ public function providerForTestHandleError()
* @param string $output_show expected output if showing of errors is
* enabled
* @param string $output_hide expected output if showing of errors is
* disabled
* disabled and 'sendErrorReports' is set to 'never'
*
* @return void
*
Expand All @@ -116,6 +116,8 @@ public function providerForTestHandleError()
public function testGetDispErrorsForDisplayFalse(
$errno, $errstr, $errfile, $errline, $output_show, $output_hide
) {
// TODO: Add other test cases for all combination of 'sendErrorReports'
$GLOBALS['cfg']['SendErrorReports'] = 'never';
$GLOBALS['cfg']['Error_Handler']['gather'] = true;
$GLOBALS['cfg']['Error_Handler']['display'] = false;

Expand Down

0 comments on commit 7393745

Please sign in to comment.