From 1d9f83c4f0a270ddf68c5b444a456135876ea847 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sat, 12 Dec 2015 15:55:37 -0500 Subject: [PATCH] Reduce number of mocks used in HasMany tests. --- tests/TestCase/ORM/Association/BelongsToTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/TestCase/ORM/Association/BelongsToTest.php b/tests/TestCase/ORM/Association/BelongsToTest.php index 8f7f41b9846..182e6c4aca9 100644 --- a/tests/TestCase/ORM/Association/BelongsToTest.php +++ b/tests/TestCase/ORM/Association/BelongsToTest.php @@ -198,7 +198,6 @@ public function testAttachToNoFields() public function testAttachToMultiPrimaryKey() { $this->company->primaryKey(['id', 'tenant_id']); - // $query = $this->getMock('\Cake\ORM\Query', ['join', 'select'], [null, null]); $config = [ 'foreignKey' => ['company_id', 'company_tenant_id'], 'sourceTable' => $this->client,