[DoctrineBridge] add missing error code

This commit is contained in:
Christian Flothmann 2016-07-10 22:39:03 +02:00
parent f2599e4db2
commit 1ea90c3e14
1 changed files with 1 additions and 0 deletions

View File

@ -448,6 +448,7 @@ class UniqueEntityValidatorTest extends AbstractConstraintValidatorTest
->atPath('property.path.single')
->setParameter('{{ value }}', $expectedValue)
->setInvalidValue($expectedValue)
->setCode(UniqueEntity::NOT_UNIQUE_ERROR)
->assertRaised();
}