Problem/Motivation

Two of the PHPUNIT test groups fail in the 'max PHP version' pipeline, which is running PHP8.2 and PHPUnit 11.4
The tests pass at 'current' which uses PHP8.1 and PHPUnit 10.5

In the Rules test we get

Exception Deprecated scheduler.test    1242 SchedulerRulesTest->setUp()        
    Creation of dynamic property SchedulerRulesTest::$node is deprecated
Exception Deprecated scheduler.test    1597 SchedulerRulesTest->testRulesEvents
    Creation of dynamic property SchedulerRulesTest::$eventMessage is deprecated

and in the functional Permissions test we have

Exception Deprecated scheduler.test     869 SchedulerFunctionalTest->testPermis
    Creation of dynamic property SchedulerFunctionalTest::$webUser is deprecated

Issue fork scheduler-3480311

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

jonathan1055 created an issue. See original summary.

  • jonathan1055 committed 52b7a0e5 on 7.x-1.x
    Issue #3480311 by jonathan1055: Fix PHPUnit tests to pass at 'Max PHP...
jonathan1055’s picture

Status: Active » Fixed
Related issues: +#3480296: Only use Composer 2 in Drupal 7 pipelines

Fixed.

This also includes a temporary change now that Composer version 1 cannot be used. This can be removed when #3480296: Only use Composer 2 in Drupal 7 pipelines is resolved.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.