-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.5
-
MOODLE_400_STABLE
-
MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
-
MDL-76662-401 -
They currently have faulty logic in determining which supported reports are installed (possible as a result of this change from MDL-44596)
The $allreports variable is keyed on plugin name without prefix (e.g. 'backups', 'competency') so the array key intersection will never return anything, leading to:
$ bin/moodle-docker-compose exec webserver php vendor/bin/phpunit --filter test_get_supported_reports
|
Moodle 4.2dev (Build: 20221209)
|
Php: 7.4.33, mysqli: 5.7.40, OS: Linux 4.15.0-200-generic x86_64
|
PHPUnit 9.5.26 by Sebastian Bergmann and contributors.
|
|
... 3 / 3 (100%)
|
|
Time: 00:00.313, Memory: 300.00 MB
|
|
OK (3 tests, 0 assertions)
|