function UrlEncodeTest::testUrls
Same name in other branches
- 8.9.x core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php \Drupal\Tests\migrate\Unit\process\UrlEncodeTest::testUrls()
- 10 core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php \Drupal\Tests\migrate\Unit\process\UrlEncodeTest::testUrls()
- 11.x 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\processCode
public function testUrls($input, $output) {
$this->assertEquals($output, $this->doTransform($input));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.