Method getMockForAbstractClass() is deprecated - replace in classes EntityTypeTest and EntityTypeManagerTest

Created on 26 October 2024, 27 days ago

Problem/Motivation

Method getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10.

Some uses were removed as part of 🌱 [meta] Support PHPUnit 10 in Drupal 11 Active , but there's a relevant number of places where this is still used.

Proposed resolution

replace in classes EntityTypeTest and EntityTypeManagerTest

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

phpunit

Created by

🇮🇹Italy mondrake 🇮🇹

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

Merge Requests

Comments & Activities

  • Issue created by @mondrake
  • Merge request !9960Closes #3483576 → (Open) created by mondrake
  • Pipeline finished with Failed
    27 days ago
    Total: 229s
    #321401
  • 🇮🇹Italy mondrake 🇮🇹
  • Pipeline finished with Success
    27 days ago
    Total: 2838s
    #321406
  • 🇺🇸United States smustgrave

    This one was a little more in-depth but from what I can tell it's a good refactor with no test coverage lost.

  • Pipeline finished with Failed
    9 days ago
    Total: 704s
    #337982
  • Pipeline finished with Failed
    8 days ago
    Total: 694s
    #338979
  • Pipeline finished with Failed
    8 days ago
    Total: 825s
    #339023
  • Pipeline finished with Success
    4 days ago
    Total: 683s
    #342656
Production build 0.71.5 2024