Provides invalid absolute URLs.
File
- drupal/core/tests/Drupal/Tests/Core/Common/UrlValidatorTest.php, line 74
- Contains \Drupal\Tests\Core\Common\UrlValidatorTest.
Class
- UrlValidatorTest
- Tests URL validation by valid_url().
Namespace
Drupal\Tests\Core\Common
Code
public function providerTestInvalidAbsolute() {
$data = array(
'',
'ex!ample.com',
'ex%ample.com',
);
return $this
->dataEnhanceWithScheme($data);
}