diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/HandlerTest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/HandlerTest.php index 49a5998..1498b37 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/HandlerTest.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/HandlerTest.php @@ -155,7 +155,7 @@ public function testBrokenHandlers() { $handler_types = ViewExecutable::viewsHandlerTypes(); foreach ($handler_types as $type => $type_info) { - $result = $this->xpath('//a[contains(@href, :href)]', array(':href' => url("admin/structure/views/nojs/config-item/test_view_broken/default/$type/id_broken"))); + $result = $this->xpath('//a[contains(@href, :href)]', array(':href' => "admin/structure/views/nojs/config-item/test_view_broken/default/$type/id_broken")); $this->assertEqual(count($result), 1, String::format('Handler (%type) edit link found.', array('%type' => $type))); debug((string) $result[0]); $this->assertTrue(strpos((string) $result[0], t('Broken/missing handler')) !== FALSE, 'Ensure the broken handler text was found.'); @@ -170,7 +170,7 @@ public function testOptionalHandlers() { $handler_types = ViewExecutable::viewsHandlerTypes(); foreach ($handler_types as $type => $type_info) { - $result = $this->xpath('//a[contains(@href, :href)]', array(':href' => url("admin/structure/views/nojs/config-item/test_view_optional/default/$type/id_broken"))); + $result = $this->xpath('//a[contains(@href, :href)]', array(':href' => "admin/structure/views/nojs/config-item/test_view_optional/default/$type/id_broken")); $this->assertEqual(count($result), 1, String::format('Handler (%type) edit link found.', array('%type' => $type))); debug((string) $result[0]); $this->assertTrue(strpos((string) $result[0], t('Optional handler is missing')) !== FALSE, 'Ensure the optional handler text was found.');