We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1d866e commit b68021bCopy full SHA for b68021b
src/Symfony/Component/Validator/Tests/Constraints/UrlValidatorTest.php
@@ -123,7 +123,7 @@ public function testValidRelativeUrlWithNewLine(string $url)
123
*/
124
public function testProtocolsWildcardAllowsAnyProtocol()
125
{
126
- $constraint = new Url(protocols: ['*']);
+ $constraint = new Url(protocols: ['*'], requireTld: false);
127
128
$validUrls = [
129
'http://example.com',
0 commit comments