Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit f6c5ceb77a2344d722da07a6edc200694df2009e 1 parent f89fe0e
Mark Story markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Test/Case/Event/CakeEventManagerTest.php
2  lib/Cake/Test/Case/Event/CakeEventManagerTest.php
View
@@ -262,7 +262,7 @@ public function testDispatchReturnValue() {
*/
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'
);
Please sign in to comment.
Something went wrong with that request. Please try again.