Skip to content

Commit

Permalink
Fixed failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tigrang committed May 30, 2012
1 parent acbb2be commit 1367e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/Model/ModelValidationTest.php
Expand Up @@ -1972,7 +1972,7 @@ public function testValidateFirstAssociatedWithBeforeValidate() {
array('body' => 'foo3')
);
$user = new User();
$user->hasMany['CustomArticle'] = array('foreignKey' => 'user_id');
$user->bindModel(array('hasMany' => array('CustomArticle')));
$data = array(
'User' => array('user' => 'foo', 'password' => 'bar'),
'CustomArticle' => $articles
Expand Down

0 comments on commit 1367e5b

Please sign in to comment.