Skip to content

Commit

Permalink
Skip error encoding test in PHP5.3
Browse files Browse the repository at this point in the history
Index errors work funny in PHP5.3, which makes testing them not work
like other versions of PHP.
  • Loading branch information
markstory committed Dec 13, 2016
1 parent edfda47 commit 69afeb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Test/Case/Utility/DebuggerTest.php
Expand Up @@ -161,6 +161,7 @@ public function testOutput() {
* @return void
*/
public function testOutputEncodeDescription() {
$this->skipIf(version_compare(PHP_VERSION, '5.4.0', '<'), 'Index errors are different in PHP 5.3');
set_error_handler('Debugger::showError');
$this->_restoreError = true;

Expand Down

0 comments on commit 69afeb0

Please sign in to comment.