Skip to content

Commit

Permalink
remove unnecessary association from test
Browse files Browse the repository at this point in the history
  • Loading branch information
skie committed Sep 17, 2024
1 parent ce6d935 commit 32f6ed5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion tests/TestCase/Model/Filter/CriteriaFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ public function testApply(): void
public function testApplyWithInCriterionAndInnerStringCriterion(): void
{
$this->Authors = TableRegistry::getTableLocator()->get('Authors');
$this->Articles->belongsTo('Authors');

$criteria = [
'author_id' => new InCriterion('Articles.author_id', $this->Authors, new StringCriterion('name')),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public function setUp(): void
parent::setUp();
$this->Articles = TableRegistry::getTableLocator()->get('Articles');
$this->Authors = TableRegistry::getTableLocator()->get('Authors');
$this->Articles->belongsTo('Authors');

$innerCriterion = new StringCriterion('name');
$this->lookupCriterion = new LookupCriterion('Articles.author_id', $this->Authors, $innerCriterion);
Expand Down

0 comments on commit 32f6ed5

Please sign in to comment.