Resolve ambiguous column names

This commit is contained in:
chinpei215 2014-08-27 15:32:57 +09:00
parent 31204832c2
commit c06b7162ef

View file

@ -1543,7 +1543,7 @@ class DboSourceTest extends CakeTestCase {
$User->Article = $Article;
$User->find('first', array(
'fields' => '*',
'fields' => array('User.*', 'Article.*'),
'conditions' => array('User.id' => 1),
'recursive' => -1,
'joins' => array(