Skip to content

Commit

Permalink
Fix failing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 2, 2013
1 parent 1cd457b commit fa8298d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cake/Test/TestCase/ORM/Association/HasManyTest.php
Expand Up @@ -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')
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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([
Expand Down

0 comments on commit fa8298d

Please sign in to comment.