Commit 01016622 authored by lauriii's avatar lauriii

Issue #2857580 by vegantriathlete: Correct documentation on assertLinkByHref

parent 293339b8
......@@ -380,7 +380,7 @@ protected function assertNoLink($label) {
* Link position counting from zero.
*
* @deprecated Scheduled for removal in Drupal 9.0.0.
* Use $this->assertSession()->linkByHref() instead.
* Use $this->assertSession()->linkByHrefExists() instead.
*/
protected function assertLinkByHref($href, $index = 0) {
$this->assertSession()->linkByHrefExists($href, $index);
......
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