-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
4.3.3, 4.4
-
MOODLE_403_STABLE, MOODLE_404_STABLE
In a clean moodle installation from branch main
There is a unit test error when running adminlib_test:
vendor/bin/phpunit lib/tests/adminlib_test.php
|
Moodle 4.4dev (Build: 20240112), 580c009cacbd1093037599b2b92716154199a77e |
Php: 8.1.26, pgsql: 14.0 (Debian 14.0-1.pgdg110+1), OS: Linux 6.5.0-14-generic x86_64 |
PHPUnit 9.5.28 by Sebastian Bergmann and contributors.................................E. 34 / 34 (100%)Time: 00:02.789, Memory: 109.00 MBThere was 1 error:1) core\adminlib_test::test_admin_output_new_settings_by_page |
Error: Call to undefined function course_get_format()/var/www/mdlmain/lib/adminlib.php:5056 |
/var/www/mdlmain/lib/tests/adminlib_test.php:143 |
/var/www/mdlmain/lib/phpunit/classes/advanced_testcase.php:69ERRORS!
|
Tests: 34, Assertions: 38, Errors: 1. |