Skip to content

Commit f3124d1

Browse files
[Validator] Fix Url constraint attribute assertion
1 parent bfe7569 commit f3124d1

File tree

1 file changed

+3
-3
lines changed
  • src/Symfony/Component/Validator/Tests/Constraints

1 file changed

+3
-3
lines changed

src/Symfony/Component/Validator/Tests/Constraints/UrlTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ public function testAttributes()
6868
self::assertFalse($cConstraint->requireTld);
6969

7070
[$dConstraint] = $metadata->properties['d']->getConstraints();
71-
self::assertSame(['http', 'https'], $aConstraint->protocols);
72-
self::assertFalse($aConstraint->relativeProtocol);
73-
self::assertNull($aConstraint->normalizer);
71+
self::assertSame(['http', 'https'], $dConstraint->protocols);
72+
self::assertFalse($dConstraint->relativeProtocol);
73+
self::assertNull($dConstraint->normalizer);
7474
self::assertTrue($dConstraint->requireTld);
7575
}
7676

0 commit comments

Comments
 (0)