diff --git a/core/modules/contact/src/Tests/ContactSitewideTest.php b/core/modules/contact/src/Tests/ContactSitewideTest.php index 2ed71b2..c82559c 100644 --- a/core/modules/contact/src/Tests/ContactSitewideTest.php +++ b/core/modules/contact/src/Tests/ContactSitewideTest.php @@ -256,12 +256,11 @@ function testSiteWideContact() { ) ); $this->assertTrue(!empty($view_link), 'Contact listing links to contact form.'); - return; // Find out in which row the form we want to add a field to is. $i = 0; foreach($this->xpath('//table/tbody/tr') as $row) { - if (((string)$row->td[0]->a) == $label) { + if (((string) $row->td[0]->a) == $label) { break; } $i++;