Unit/Kernel tests are incompatible with Drupal 11

Created on 6 May 2024, 7 months ago
Updated 24 May 2024, 6 months 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.71.5 2024