Unit/Kernel tests are incompatible with Drupal 11

Created on 6 May 2024, about 2 months ago
Updated 24 May 2024, about 1 month ago

Problem/Motivation

kernel test:

-  public static $modules = [
+  protected static $modules = [
     'disable_libraries',
   ];

kernel and unit tests:

Call to deprecated method setMethods()

How to fix:
* https://www.drupal.org/project/drupal/issues/3130606 →
* https://github.com/sebastianbergmann/phpunit/pull/3687

Both changes should be compatible with Drupal 10.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

0.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024