[DoctrineBridge] add missing error code
This commit is contained in:
parent
f2599e4db2
commit
1ea90c3e14
@ -448,6 +448,7 @@ class UniqueEntityValidatorTest extends AbstractConstraintValidatorTest
|
||||
->atPath('property.path.single')
|
||||
->setParameter('{{ value }}', $expectedValue)
|
||||
->setInvalidValue($expectedValue)
|
||||
->setCode(UniqueEntity::NOT_UNIQUE_ERROR)
|
||||
->assertRaised();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user