diff --git a/core/modules/views/src/Tests/Handler/FieldWebTest.php b/core/modules/views/src/Tests/Handler/FieldWebTest.php index d4b1781..ff71dc5 100644 --- a/core/modules/views/src/Tests/Handler/FieldWebTest.php +++ b/core/modules/views/src/Tests/Handler/FieldWebTest.php @@ -201,14 +201,8 @@ public function testAlterUrl() { $output = $id_field->theme($row); $this->assertSubString($output, $path, 'Make sure that the path is part of the output'); - // Some generic test code adapted from the UrlTest class, which tests - // mostly the different options for the path. - global $base_url, $script_path; - foreach (array(FALSE, TRUE) as $absolute) { // Get the expected start of the path string. - $base = ($absolute ? $base_url . '/' : base_path()) . $script_path; - $absolute_string = $absolute ? 'absolute' : NULL; $alter = &$id_field->options['alter']; $alter['path'] = 'node/123';