Skip to content
Snippets Groups Projects
Commit 82aacc0c authored by Angie Byron's avatar Angie Byron
Browse files

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

parent 44a4cfeb
No related branches found
No related tags found
No related merge requests found
......@@ -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 . '"]');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment