Method getMockForAbstractClass() is deprecated - replace in class EntityFormTest

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 class EntityFormTest

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Needs review

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 !9961Closes #3483577 → (Open) created by mondrake
  • Pipeline finished with Failed
    27 days ago
    Total: 612s
    #321426
  • 🇺🇸United States smustgrave

    Seems like a good refactor without test coverage lost.

  • Pipeline finished with Failed
    9 days ago
    Total: 758s
    #337981
  • Pipeline finished with Failed
    8 days ago
    Total: 613s
    #338977
  • Pipeline finished with Failed
    4 days ago
    Total: 628s
    #342655
Production build 0.71.5 2024