You are here

public function UrlHelperTest::providerTestInvalidAbsolute in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php \Drupal\Tests\Component\Utility\UrlHelperTest::providerTestInvalidAbsolute()
  2. 10 core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php \Drupal\Tests\Component\Utility\UrlHelperTest::providerTestInvalidAbsolute()

Provides data for testInvalidAbsolute().

Return value

array

File

core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php, line 99

Class

UrlHelperTest
@group Utility

Namespace

Drupal\Tests\Component\Utility

Code

public function providerTestInvalidAbsolute() {
  $data = [
    '',
    'ex!ample.com',
    'ex%ample.com',
  ];
  return $this
    ->dataEnhanceWithScheme($data);
}