Replace deprecated assertLink() in tests

Created on 22 April 2024, 5 months ago

Problem/Motivation

The assertLink function is deprecated in Drupal 10. See: https://api.drupal.org/api/drupal/core%21tests%21Drupal%21FunctionalTest...

Tests should now be done with $this->assertSession()->linkExists() instead. Attached patch resolves this issue.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

General

Created by

πŸ‡ΊπŸ‡ΈUnited States rschwab

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024