Use id() as VERSION doesn't exist in phpunit 3.6

This commit is contained in:
mark_story 2012-10-15 21:38:10 -04:00
parent f89fe0e1ef
commit f6c5ceb77a

View file

@ -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'
);