-
Bug
-
Resolution: Fixed
-
Minor
-
4.4
-
MOODLE_404_STABLE
-
MOODLE_404_STABLE
-
Our Workplace plugins add some roles on installation. Starting from Moodle 4.4 we have the failures like this:
1) repository_equella\lib_test::test_repository_is_created
|
coding_exception: Coding error detected, it must be fixed by a programmer: equella_tool_tenant_manager_shareid must be present in testing_repository_generator::create_instance() $record
|
|
/var/www/html/lib/testing/generator/repository_generator.php:140
|
/var/www/html/repository/equella/tests/lib_test.php:80
|
/var/www/html/repository/equella/tests/lib_test.php:236
|
/var/www/html/repository/equella/tests/lib_test.php:91
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:72
|
I can see that in MDL-79959 list of the standard roles was hardcoded in the repository_equela generator.
1) tool_uploadcourse\course_test::test_invalid_role
|
Failed asserting that true is false.
|
|
/var/www/html/admin/tool/uploadcourse/tests/course_test.php:270
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:72
|
Added in MDL-43056