Skip to content
Permalink
Browse files

Fix association casing.

  • Loading branch information...
markstory committed Dec 14, 2015
1 parent 38382b3 commit abaffcf57eb014a1ef57454b350408c31622e177
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/TestCase/ORM/Association/HasManyTest.php
@@ -340,7 +340,7 @@ public function testEagerLoaderWithQueryBuilder()
->will($this->returnValue($query));
$queryBuilder = function ($query) {
return $query->select(['author_id'])->join('comments')->where(['Comments.id' => 1]);
return $query->select(['author_id'])->join('comments')->where(['comments.id' => 1]);
};
$association->eagerLoader(compact('keys', 'query', 'queryBuilder'));
@@ -361,7 +361,7 @@ public function testEagerLoaderWithQueryBuilder()
$expected = new QueryExpression([
'Articles.author_id IN' => $keys,
'Comments.id' => 1,
'comments.id' => 1,
],
$query->typeMap()
);

0 comments on commit abaffcf

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