diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 535e18b4cc8..860a18c9fad 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -1625,6 +1625,8 @@ class DrupalWebTestCase extends DrupalTestCase { * Message to display. * @param $group * The group this message belongs to, defaults to 'Other'. + * @return + * TRUE if the assertion succeeded, FALSE otherwise. */ protected function assertLink($label, $index = 0, $message = '', $group = 'Other') { $links = $this->xpath('//a[text()="' . $label . '"]'); @@ -1643,6 +1645,8 @@ class DrupalWebTestCase extends DrupalTestCase { * Message to display. * @param $group * The group this message belongs to, defaults to 'Other'. + * @return + * TRUE if the assertion succeeded, FALSE otherwise. */ protected function assertNoLink($label, $message = '', $group = 'Other') { $links = $this->xpath('//a[text()="' . $label . '"]');