Skip to content

Commit b9ff959

Browse files
committed
[DoctrineBridge] add missing error code
1 parent 632b5c5 commit b9ff959

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
@@ -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)