10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 523be32 + 745cc83 commit d942a96Copy full SHA for d942a96
src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php
@@ -574,6 +574,11 @@ public function testValidateUniquenessWithCompositeObjectNoToStringIdEntity()
574
575
$objectOne = new SingleIntIdNoToStringEntity(1, 'foo');
576
$objectTwo = new SingleIntIdNoToStringEntity(2, 'bar');
577
+
578
+ $this->em->persist($objectOne);
579
+ $this->em->persist($objectTwo);
580
+ $this->em->flush();
581
582
$entity = new CompositeObjectNoToStringIdEntity($objectOne, $objectTwo);
583
584
$this->em->persist($entity);
0 commit comments