Commit 82aacc0c authored by webchick's avatar webchick

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

parent 44a4cfeb
......@@ -1625,6 +1625,8 @@ protected function getAllOptions(SimpleXMLElement $element) {
* 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 @@ protected function assertLink($label, $index = 0, $message = '', $group = 'Other
* 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 . '"]');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment