You are here

public function UrlEncodeTest::testUrls in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php \Drupal\Tests\migrate\Unit\process\UrlEncodeTest::testUrls()

Cover various encoding scenarios. @dataProvider urlDataProvider

File

core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php, line 44

Class

UrlEncodeTest
@coversDefaultClass \Drupal\migrate\Plugin\migrate\process\UrlEncode @group file

Namespace

Drupal\Tests\migrate\Unit\process

Code

public function testUrls($input, $output) {
  $this
    ->assertEquals($output, $this
    ->doTransform($input));
}