Method getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10 - Step 3

Created on 27 March 2024, about 1 year ago
Updated 26 May 2024, 11 months ago

Problem/Motivation

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

Proposed resolution

In this issue, convert usages in

  1. core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php
  2. core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
  3. core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php
  4. core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php
  5. core/tests/Drupal/Tests/Core/Test/WebDriverTestBaseTest.php

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.3 ✨

Component
PHPUnit  →

Last updated about 13 hours ago

Created by

🇮🇹Italy mondrake 🇮🇹

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024