Skip to content
Permalink
Browse files

Fix failing tests.

  • Loading branch information...
markstory committed Nov 2, 2013
1 parent 1cd457b commit fa8298dd83e4cc3c41c97933563676b98ac12b06
Showing with 3 additions and 3 deletions.
  1. +3 −3 Cake/Test/TestCase/ORM/Association/HasManyTest.php
@@ -170,7 +170,7 @@ public function testEagerLoaderWithDefaults() {
->will($this->returnValue($query));
$query->expects($this->once())->method('andWhere')
->with(['Article.author_id in' => $keys])
->with(['Article.author_id IN' => $keys])
->will($this->returnValue($query));
$query->expects($this->once())->method('order')
@@ -215,7 +215,7 @@ public function testEagerLoaderWithOverrides() {
->will($this->returnValue($query));
$query->expects($this->once())->method('andWhere')
->with(['Article.author_id in' => $keys])
->with(['Article.author_id IN' => $keys])
->will($this->returnValue($query));
$query->expects($this->once())->method('order')
@@ -318,7 +318,7 @@ public function testEagerLoaderSubquery() {
->select('Article.author_id', true)
->join($joins, [], true);
$query->expects($this->once())->method('andWhere')
->with(['Article.author_id in' => $expected])
->with(['Article.author_id IN' => $expected])
->will($this->returnValue($query));
$callable = $association->eagerLoader([

0 comments on commit fa8298d

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