Closed micaherne closed 8 months ago
Just for my reference this also happens in 4.2 as well by running vendor/bin/phpunit lib/tests/component_test.php
. This is because of https://github.com/mdjnelson/moodle-mod_customcert/issues/565 as you mentioned.
Just linking https://moodledev.io/docs/4.2/devupdate.
Fixed, will push soon.
In Moodle 4.3, if you run unit tests in the normal way (without the --process-isolation flag, or equivalent config), the
component_test::test_get_component_classes_in_namespace
core test fails due to mod_customcert.This is because classes/output/mobile.php requires lib/externallib.php which now enforces process isolation.