Fix PHPUnit tests to pass at 'Max PHP version'

Created on 12 October 2024, 5 months ago

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
📌 Task
Status

Active

Version

1.0

Component

Testing

Created by

🇬🇧United Kingdom jonathan1055

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