From 01016622ba9f578c4cf5c13280eb696ff18aba59 Mon Sep 17 00:00:00 2001 From: Lauri Eskola <lauriii@1078742.no-reply.drupal.org> Date: Thu, 30 Mar 2017 08:07:24 +0300 Subject: [PATCH] Issue #2857580 by vegantriathlete: Correct documentation on assertLinkByHref --- core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php b/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php index 79653dab8c52..77971cb007c9 100644 --- a/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php +++ b/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php @@ -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); -- GitLab