mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 11:32:40 +00:00
Fixing test that relied on Late Static binding to pass.
This commit is contained in:
parent
a3f38c77dd
commit
496bfaf32e
1 changed files with 1 additions and 1 deletions
|
@ -2408,7 +2408,7 @@ class SetTest extends CakeTestCase {
|
|||
$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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue