Skip error encoding test in PHP5.3

Index errors work funny in PHP5.3, which makes testing them not work
like other versions of PHP.
This commit is contained in:
mark_story 2016-12-12 21:28:20 -05:00
parent edfda47cf4
commit 69afeb08af

View file

@ -161,6 +161,7 @@ class DebuggerTest extends CakeTestCase {
* @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;