mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
511801cb46
All lib_test and locallib_test classes: - Namespaced with component (and API whenever makes sense). - Fixed incorrect use statements with leading backslash. - Changed code to point to global scope when needed or add new uses. - All them passing individually. - Complete runs passing too. Special mention to tests under login/tests: 1) The core_login component doesn't exist. 2) But login/tests are allowed because there is a suite pointing to it (phpunit.xml). 3) So, the only possible namespace for them is "core". 4) And to avoid problems with other core testcases (under lib/tests) they have been renamed to have login_xxxx as prefix.