public function RedirectAPITest::testParseURL in Redirect 8
Test redirect_parse_url().
File
- tests/
src/ Kernel/ RedirectAPITest.php, line 272
Class
- RedirectAPITest
- Redirect entity and redirect API test coverage.
Namespace
Drupal\Tests\redirect\KernelCode
public function testParseURL() {
//$test_cases = array(
// array(
// 'input' => array('b' => 'aa', 'c' => array('c2' => 'aa', 'c1' => 'aa'), 'a' => 'aa'),
// 'expected' => array('a' => 'aa', 'b' => 'aa', 'c' => array('c1' => 'aa', 'c2' => 'aa')),
// ),
//);
//foreach ($test_cases as $index => $test_case) {
// $output = redirect_parse_url($test_case['input']);
// $this->assertIdentical($output, $test_case['expected']);
//}
}