Skip to content

Commit

Permalink
Reduce number of mocks used in HasMany tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 13, 2015
1 parent 3d463bc commit 1d9f83c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/TestCase/ORM/Association/BelongsToTest.php
Expand Up @@ -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,
Expand Down

0 comments on commit 1d9f83c

Please sign in to comment.