Skip to content
Permalink
Browse files

Resolve ambiguous column names for Sqlite

  • Loading branch information...
chinpei215 committed Aug 27, 2014
1 parent c06b716 commit 010bbc6764f26576a4c42f47aa4a68ca14d9f213
Showing with 9 additions and 1 deletion.
  1. +9 −1 lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
@@ -1543,7 +1543,15 @@ public function testJoinsAfterFind() {
$User->Article = $Article;
$User->find('first', array(
'fields' => array('User.*', 'Article.*'),
'fields' => array(
'Article.id',
'Article.user_id',
'Article.title',
'Article.body',
'Article.published',
'Article.created',
'Article.updated'
),
'conditions' => array('User.id' => 1),
'recursive' => -1,
'joins' => array(

0 comments on commit 010bbc6

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