mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Use id() as VERSION doesn't exist in phpunit 3.6
This commit is contained in:
parent
f89fe0e1ef
commit
f6c5ceb77a
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ class CakeEventManagerTest extends CakeTestCase {
|
|||
*/
|
||||
public function testDispatchFalseStopsEvent() {
|
||||
$this->skipIf(
|
||||
version_compare(PHPUnit_Runner_Version::VERSION, '3.7', '<'),
|
||||
version_compare(PHPUnit_Runner_Version::id(), '3.7', '<'),
|
||||
'These tests fail in PHPUnit 3.6'
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue