Skip to content

Commit b68021b

Browse files
author
DRKILLA
committed
remove deprecation notice
1 parent e1d866e commit b68021b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function testValidRelativeUrlWithNewLine(string $url)
123123
*/
124124
public function testProtocolsWildcardAllowsAnyProtocol()
125125
{
126-
$constraint = new Url(protocols: ['*']);
126+
$constraint = new Url(protocols: ['*'], requireTld: false);
127127

128128
$validUrls = [
129129
'http://example.com',

0 commit comments

Comments
 (0)