8000 Merge branch '3.1' · symfony/symfony@031b850 · GitHub
[go: up one dir, main page]

Skip to content

Commit 031b850

Browse files
committed
Merge branch '3.1'
* 3.1: [DoctrineBridge] add missing error code
2 parents c221908 + 414d9ef commit 031b850

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bridge/Doctrine/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)
0