Skip to content

Commit

Permalink
fix(test): Fix tests for doctrine 2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Czarnecki committed Aug 3, 2023
1 parent 999ccaf commit 7bee053
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Serializer/Doctrine/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ public function testDiscriminatorIsInferredFromDoctrine()
$teacher = new Teacher();
$class = new Clazz($teacher, [$student1, $student2]);

$em->persist($teacher);
$em->flush();
$em->persist($student1);
$em->persist($student2);
$em->persist($teacher);
$em->persist($class);
$em->flush();
$em->clear();
Expand Down

0 comments on commit 7bee053

Please sign in to comment.