8000 minor #19333 [DoctrineBridge] add missing error code (xabbuh) · symfony/symfony@414d9ef · GitHub
[go: up one dir, main page]

Skip to content

Commit 414d9ef

Browse files
committed
minor #19333 [DoctrineBridge] add missing error code (xabbuh)
This PR was merged into the 3.1 branch. Discussion ---------- [DoctrineBridge] add missing error code | Q | A | ------------- | --- | Branch? | 3.1 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 1ea90c3 [DoctrineBridge] add missing error code
2 parents f2599e4 + 1ea90c3 commit 414d9ef

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