From f6c5ceb77a2344d722da07a6edc200694df2009e Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 15 Oct 2012 21:38:10 -0400 Subject: [PATCH] Use id() as VERSION doesn't exist in phpunit 3.6 --- lib/Cake/Test/Case/Event/CakeEventManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/Event/CakeEventManagerTest.php b/lib/Cake/Test/Case/Event/CakeEventManagerTest.php index 3d4cae1dc..f3929cc9d 100644 --- a/lib/Cake/Test/Case/Event/CakeEventManagerTest.php +++ b/lib/Cake/Test/Case/Event/CakeEventManagerTest.php @@ -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' );