8000 [DoctrineBridge] add missing error code · symfony/symfony@1ea90c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ea90c3

Browse files
committed
[DoctrineBridge] add missing error code
1 parent f2599e4 commit 1ea90c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ public function testValidateUniquenessNotToStringEntityWithAssociatedEntity()
448448
->atPath('property.path.single')
449449
->setParameter('{{ value }}', $expectedValue)
450450
->setInvalidValue($expectedValue)
451+
->setCode(UniqueEntity::NOT_UNIQUE_ERROR)
451452
->assertRaised();
452453
}
453454

0 commit comments

Comments
 (0)
0