diff --git a/core/modules/views/src/Tests/Handler/FieldWebTest.php b/core/modules/views/src/Tests/Handler/FieldWebTest.php index 0fd3ab7..d4b1781 100644 --- a/core/modules/views/src/Tests/Handler/FieldWebTest.php +++ b/core/modules/views/src/Tests/Handler/FieldWebTest.php @@ -203,6 +203,7 @@ public function testAlterUrl() { // 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.