Update tests to be Drupal 9 compatible

Created on 9 December 2021, over 3 years ago
Updated 21 May 2025, about 1 month ago

Problem/Motivation

#3253529: Migration from D7 to D9 revealed that 403 to 404 has some issues in regards of the tests and the configured automated tests.
IF you check the actual tests results at https://www.drupal.org/node/1926454/qa , you will see that none of the PHP5.* tests can be executed - obviously because Drupal 8 required at least PHP 7.0.6.

The other problem is that we haven’t been able to test our code on Drupal CI with Drupal core 8.x for about a month now. The only reason we see a green test result at https://www.drupal.org/node/1926454/qa is that the last commit was on 24 August 2020

Proposed resolution

  1. Make functional tests compatible with Drupal 9
  2. Get rid/change the obsolete automated tests environments. I usually prefer testing weekly with the security D9 version + with the next minor version, and use the current minor for issue testing + commit default.

    Requirements of Drupal 9 can be found here.

Remaining tasks

  1. Patch for the PHPUnit tests.
  2. Proper automated test environments.

User interface changes

Nothing.

API changes

Nothing.

Data model changes

Nothing.

📌 Task
Status

Closed: outdated

Version

1.0

Component

Miscellaneous

Created by

🇭🇺Hungary huzooka Hungary 🇭🇺🇪🇺

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

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