From 4476db05febf1a74938aef06da0bc3ef00b2e4a5 Mon Sep 17 00:00:00 2001 From: ADmad Date: Mon, 6 Jan 2014 02:48:15 +0530 Subject: [PATCH] Fixed CS errors --- Cake/Test/TestCase/ORM/Association/BelongsToTest.php | 2 +- Cake/Test/TestCase/ORM/QueryTest.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cake/Test/TestCase/ORM/Association/BelongsToTest.php b/Cake/Test/TestCase/ORM/Association/BelongsToTest.php index d97c798f07f..20b14fd4a74 100644 --- a/Cake/Test/TestCase/ORM/Association/BelongsToTest.php +++ b/Cake/Test/TestCase/ORM/Association/BelongsToTest.php @@ -193,7 +193,7 @@ public function testAttachToWithQueryBuilder() { 'conditions' => new QueryExpression([ 'Companies.is_active' => true, ['Companies.id' => $field], - new QueryExpression(['a' => 1]) + new QueryExpression(['a' => 1]) ]), 'type' => 'LEFT', 'table' => 'companies', diff --git a/Cake/Test/TestCase/ORM/QueryTest.php b/Cake/Test/TestCase/ORM/QueryTest.php index c57f9b8860e..13d47bb5a4d 100644 --- a/Cake/Test/TestCase/ORM/QueryTest.php +++ b/Cake/Test/TestCase/ORM/QueryTest.php @@ -135,7 +135,7 @@ public function testContainToJoinsOneLevel() { ->with(['orders' => [ 'table' => 'orders', 'type' => 'INNER', - 'conditions' => new QueryExpression([ + 'conditions' => new QueryExpression([ ['clients.id' => new IdentifierExpression('orders.client_id')] ]) ]]) @@ -145,7 +145,7 @@ public function testContainToJoinsOneLevel() { ->with(['orderTypes' => [ 'table' => 'order_types', 'type' => 'LEFT', - 'conditions' => new QueryExpression([ + 'conditions' => new QueryExpression([ ['orderTypes.id' => new IdentifierExpression('orders.order_type_id')] ]) ]]) @@ -175,7 +175,7 @@ public function testContainToJoinsOneLevel() { ->with(['companies' => [ 'table' => 'organizations', 'type' => 'LEFT', - 'conditions' => new QueryExpression([ + 'conditions' => new QueryExpression([ ['companies.id' => new IdentifierExpression('clients.organization_id')] ]) ]])