summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/simpletest/drupal_web_test_case.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 535e18b4c..860a18c9f 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 . '"]');