Commit 000d51e7 authored by Dries's avatar Dries
Browse files

Issue #2031211 by a_c_m: Check for URL's absence will always pass due to wrong var name.

parent e9245931
......@@ -61,10 +61,11 @@ function testSiteWideContact() {
// User category could not be changed or deleted.
// Cannot use ::assertNoLinkByHref as it does partial url matching and with
// field_ui enabled admin/structure/contact/manage/personal/fields exists.
// @todo: See for the above
$edit_link = $this->xpath('//a[@href=:href]', array(
':href' => url('admin/structure/contact/manage/personal')
$this->assertTrue(empty($links), format_string('No link containing href %href found.',
$this->assertTrue(empty($edit_link), format_string('No link containing href %href found.',
array('%href' => 'admin/structure/contact/manage/personal')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment