diff --git a/core/modules/contact/src/Tests/ContactSitewideTest.php b/core/modules/contact/src/Tests/ContactSitewideTest.php index c82559c..6672994 100644 --- a/core/modules/contact/src/Tests/ContactSitewideTest.php +++ b/core/modules/contact/src/Tests/ContactSitewideTest.php @@ -251,7 +251,7 @@ function testSiteWideContact() { $this->drupalGet('admin/structure/contact'); $view_link = $this->xpath('//table/tbody/tr/td/a[contains(@href, :href) and text()=:text]', array( - ':href' => \Drupal::url('contact.site_page_form', ['contact_form' => $contact_form]), + ':href' => \Drupal::url('entity.contact_form.canonical', ['contact_form' => $contact_form]), ':text' => $label, ) );