Skip to content
Permalink
Browse files

Reduce number of mocks used in HasMany tests.

  • Loading branch information...
markstory committed Dec 12, 2015
1 parent 3d463bc commit 1d9f83c4f0a270ddf68c5b444a456135876ea847
Showing with 0 additions and 1 deletion.
  1. +0 −1 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,

0 comments on commit 1d9f83c

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