Skip to content
Permalink
Browse files

Fixing test that relied on Late Static binding to pass.

  • Loading branch information...
markstory committed Oct 13, 2009
1 parent a3f38c7 commit 496bfaf32ee2759194e290d08be1aa442e5e9341
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/tests/cases/libs/set.test.php
@@ -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);

0 comments on commit 496bfaf

Please sign in to comment.
You can’t perform that action at this time.