fix: remove actor deletion in AwardTypeRepositoryTest to avoid FK violation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f291df0fcf
commit
9c095a76eb
1 changed files with 1 additions and 2 deletions
|
|
@ -22,10 +22,9 @@ class AwardTypeRepositoryTest extends KernelTestCase
|
|||
$this->em = self::getContainer()->get(EntityManagerInterface::class);
|
||||
$this->repo = self::getContainer()->get(AwardTypeRepository::class);
|
||||
|
||||
// Clean slate
|
||||
// Clean award data (order matters for FK constraints)
|
||||
$this->em->createQuery('DELETE FROM App\Entity\Award')->execute();
|
||||
$this->em->createQuery('DELETE FROM App\Entity\AwardType')->execute();
|
||||
$this->em->createQuery('DELETE FROM App\Entity\Actor')->execute();
|
||||
}
|
||||
|
||||
public function testFindWithMinActorsFiltersCorrectly(): void
|
||||
|
|
|
|||
Loading…
Reference in a new issue