Skip to content

Commit

Permalink
Fixing test that relied on Late Static binding to pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 13, 2009
1 parent a3f38c7 commit 496bfaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/set.test.php
Expand Up @@ -2408,7 +2408,7 @@ function testApply() {
$expected = array('MOVIE 3', 'MOVIE 1', 'MOVIE 2');
$this->assertEqual($result, $expected);

$result = Set::apply('/Movie/rating', $data, array('self', '_method'), array('type' => 'reduce'));
$result = Set::apply('/Movie/rating', $data, array('SetTest', '_method'), array('type' => 'reduce'));
$expected = 9;
$this->assertEqual($result, $expected);

Expand Down

0 comments on commit 496bfaf

Please sign in to comment.