You are here

public function UrlHelperTest::providerTestInvalidRelativeData in Drupal 10

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

Provides data for testInvalidRelative().

Return value

array

File

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

Class

UrlHelperTest
@group Utility

Namespace

Drupal\Tests\Component\Utility

Code

public function providerTestInvalidRelativeData() {
  $data = [
    'ex^mple',
    'example<>',
    'ex%ample',
  ];
  return $this
    ->dataEnhanceWithPrefix($data);
}