[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')
|
->atPath('property.path.single')
|
||||||
->setParameter('{{ value }}', $expectedValue)
|
->setParameter('{{ value }}', $expectedValue)
|
||||||
->setInvalidValue($expectedValue)
|
->setInvalidValue($expectedValue)
|
||||||
|
->setCode(UniqueEntity::NOT_UNIQUE_ERROR)
|
||||||
->assertRaised();
|
->assertRaised();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user