Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Jul 4, 2024
1 parent 6fbbfa0 commit ed0adf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Driver/Pgsql/ActiveRecordTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,9 @@ public function testToArrayWithClosure(): void

public function testRelationViaArray()
{
$this->checkFixture($this->db, 'promotion');
$this->checkFixture($this->db(), 'promotion');

$promotionQuery = new ActiveQuery(Promotion::class, $this->db);
$promotionQuery = new ActiveQuery(Promotion::class);
/** @var Promotion[] $promotions */
$promotions = $promotionQuery->with('items')->all();

Expand Down

0 comments on commit ed0adf1

Please sign in to comment.