Skip to content

Commit

Permalink
feat: drop support for symfony 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris8934 committed Nov 12, 2023
1 parent 07c534c commit 8d21c6f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/Test/ConfigMysqlCacheDbTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,14 @@ public function testLoadFixturesCheckReferences(): void
'Liip\Acme\Tests\App\DataFixtures\ORM\LoadUserData',
])->getReferenceRepository();

var_dump($referenceRepository->getReferencesByClass());
$this->assertCount(1, $referenceRepository->getReferencesByClass()['Liip\Acme\Tests\App\Entity\User']);
$this->assertCount(1, $referenceRepository->getReferences());;

$referenceRepository = $this->databaseTool->loadFixtures([
'Liip\Acme\Tests\App\DataFixtures\ORM\LoadUserData',
'Liip\Acme\Tests\App\DataFixtures\ORM\LoadSecondUserData',
])->getReferenceRepository();

$this->assertCount(2, $referenceRepository->getReferencesByClass()['Liip\Acme\Tests\App\Entity\User']);
$this->assertCount(2, $referenceRepository->getReferences());
}

protected static function getKernelClass(): string
Expand Down

0 comments on commit 8d21c6f

Please sign in to comment.