diff --git a/Cake/Test/TestCase/ORM/Association/HasManyTest.php b/Cake/Test/TestCase/ORM/Association/HasManyTest.php index 9e0a7b821a5..3726f070f69 100644 --- a/Cake/Test/TestCase/ORM/Association/HasManyTest.php +++ b/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([