File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Validator/Tests/Constraints Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public function testAnnotations()
8989
9090 [$ barConstraint ] = $ metadata ->properties ['bar ' ]->getConstraints ();
9191
92- self ::assertInstanceOf (When::class, $ fooConstraint );
92+ self ::assertInstanceOf (When::class, $ barConstraint );
9393 self ::assertSame ('false ' , $ barConstraint ->expression );
9494 self ::assertEquals ([
9595 new NotNull ([
@@ -161,7 +161,7 @@ public function testAttributes()
161161
162162 [$ barConstraint ] = $ metadata ->properties ['bar ' ]->getConstraints ();
163163
164- self ::assertInstanceOf (When::class, $ fooConstraint );
164+ self ::assertInstanceOf (When::class, $ barConstraint );
165165 self ::assertSame ('false ' , $ barConstraint ->expression );
166166 self ::assertEquals ([
167167 new NotNull ([
You can’t perform that action at this time.
0 commit comments