-
Sub-task
-
Resolution: Fixed
-
Major
-
3.11.4, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
This corresponds to the progress of point B of MDL-71049.
In this case, applied to all the occurrences of:
- privacy_test (72)
- privacy_provider_test (52)
Changes include:
- Add or fix namespaces to be component\privacy.
- Fixing incorrect use \xxx statements with leading backslash.
- Changing code to point to global scope when needed / adding new use xxx statements.
- Change testcase class names to match file name (_test.
Goals:
- Verify that there aren't remaining files and classes to be processed.
- Verify that all the files can be run individually.
- Verify that complete runs continue passing ok.
- Apply the changes to both 311 (where PHPUnit was introduced) and master.
Notes:
- The changes should be 99.99% contained within phpunit /tests/ files. If something out from there is detected, it will be handled in separate commit, with justifications.
- Testing discovered
-
MDL-73349 Review privacy/classes/tests classes
- Open