Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292343

Method getMockForAbstractClass() is deprecated - replace in class ContentEntityBaseUnitTest

$
0
0

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

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 292343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>