Problem/Motivation
Method getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10.
Some uses were removed as part of #3217904: [meta] Support PHPUnit 10 in Drupal 11, but there's a relevant number of places where this is still used.
Proposed resolution
replace in EntityUrlTest
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3481539
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3481539-method-getmockforabstractclass-is
changes, plain diff MR !9864
Comments
Comment #3
mondrakeComment #4
smustgrave commentedSeems like a good refactor with no test coverage lost.
Comment #7
alexpottCommitted 55bab34 and pushed to 11.x. Thanks!
Committed fbfd82c and pushed to 11.1.x. Thanks!