#487868 follow-up by David Rothstein: Fix phpDoc of link assertion functions.
parent
44a4cfebcd
commit
82aacc0c46
|
@ -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 . '"]');
|
||||
|
|
Loading…
Reference in New Issue