Skip to content

Commit 234cdfc

Browse files
committed
Merge branch '3.1'
* 3.1: [DoctrineBridge] add missing error code
2 parents 327e9c9 + b9ff959 commit 234cdfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/Validator/Constraints/UniqueEntityValidatorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ public function testValidateUniquenessNotToStringEntityWithAssociatedEntity()
450450
->atPath('property.path.single')
451451
->setParameter('{{ value }}', $expectedValue)
452452
->setInvalidValue($expectedValue)
453+
->setCode(UniqueEntity::NOT_UNIQUE_ERROR)
453454
->assertRaised();
454455
}
455456

0 commit comments

Comments
 (0)