mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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:
parent
edfda47cf4
commit
69afeb08af
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue