mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixed failing test case
This commit is contained in:
parent
acbb2bebc9
commit
1367e5b927
1 changed files with 1 additions and 1 deletions
|
@ -1972,7 +1972,7 @@ class ModelValidationTest extends BaseModelTest {
|
||||||
array('body' => 'foo3')
|
array('body' => 'foo3')
|
||||||
);
|
);
|
||||||
$user = new User();
|
$user = new User();
|
||||||
$user->hasMany['CustomArticle'] = array('foreignKey' => 'user_id');
|
$user->bindModel(array('hasMany' => array('CustomArticle')));
|
||||||
$data = array(
|
$data = array(
|
||||||
'User' => array('user' => 'foo', 'password' => 'bar'),
|
'User' => array('user' => 'foo', 'password' => 'bar'),
|
||||||
'CustomArticle' => $articles
|
'CustomArticle' => $articles
|
||||||
|
|
Loading…
Reference in a new issue