From 82aacc0c461327dc6dc2047c3d06d859ec1e1dbd Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 16 Jun 2009 04:43:47 +0000 Subject: [PATCH] #487868 follow-up by David Rothstein: Fix phpDoc of link assertion functions. --- modules/simpletest/drupal_web_test_case.php | 4 ++++ 1 file changed, 4 insertions(+) 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 . '"]');