#487868 follow-up by David Rothstein: Fix phpDoc of link assertion functions.

merge-requests/26/head
Angie Byron 2009-06-16 04:43:47 +00:00
parent 44a4cfebcd
commit 82aacc0c46
1 changed files with 4 additions and 0 deletions

View File

@ -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 . '"]');