diff --git a/core/modules/contact/src/Tests/ContactSitewideTest.php b/core/modules/contact/src/Tests/ContactSitewideTest.php index 13355d8..033fa5c 100644 --- a/core/modules/contact/src/Tests/ContactSitewideTest.php +++ b/core/modules/contact/src/Tests/ContactSitewideTest.php @@ -138,7 +138,6 @@ function testSiteWideContact() { $this->assertText(t('Contact form @label has been added.', array('@label' => $label))); // Verify that the creation message contains a link to a contact form. - $view_link = $this->xpath('//div[@class="messages"]//a[contains(@href, :href)]', array(':href' => 'contact/')); $this->assertTrue($view_link, 'The message area contains a link to a contact form.'); // Check that the form was created in site default language.