Problem/Motivation

Drupal 11.2.0 upgraded PHPUnit 10.x to 11.x that causes errors in tests like this:

PHP Fatal error:  Cannot override final method PHPUnit\Framework\TestCase::createMock() in /builds/project/commercetools/web/modules/contrib/test_helpers/src/UnitTestCaseWrapper.php on line 51
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "cache.bootstrap".

Would be good to fix them and add support for PHPUnit 11.x.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

murz created an issue. See original summary.

  • murz committed 41c6b850 on 1.5.x
    Issue #3535148 by murz: Add support for Drupal 11.2.x and PHPUnit 11.x
    
murz’s picture

Status: Active » Fixed

Implemented.

murz’s picture

Status: Fixed » Closed (fixed)