Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use id() as VERSION doesn't exist in phpunit 3.6
  • Loading branch information
markstory committed Oct 16, 2012
1 parent f89fe0e commit f6c5ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Event/CakeEventManagerTest.php
Expand Up @@ -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'
);

Expand Down

0 comments on commit f6c5ceb

Please sign in to comment.