MDL-66902 tests: Fix all incorrect namespaces
commit0ed53be9b2c37643732d9a14182ed6f835e6bc89
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 26 Sep 2022 08:57:24 +0000 (26 10:57 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 26 Sep 2022 12:12:16 +0000 (26 14:12 +0200)
treebe394d86ae4be0d1ed276afe09f6bb5bee02788c
parent8f492a836a52952720d242b35ff1391445aa8e1e
MDL-66902 tests: Fix all incorrect namespaces

This issue just goes over all the currently incorrect
namespaces in test cases and:

1. Change the namespace to the correct one.
2. Move/rename it to correct location if needed (level 2 and down).
3. Remove not needed MOODLE_INTERNAL check when possible.
4. Remove file phpdoc when the file only has one class.
5. Make small adjustments in case the change of namespace requires it.
45 files changed:
admin/tool/brickfield/tests/local/tool/activityresults_test.php [moved from admin/tool/brickfield/tests/activityresults_test.php with 100% similarity]
admin/tool/brickfield/tests/local/tool/checktyperesults_test.php [moved from admin/tool/brickfield/tests/checktyperesults_test.php with 100% similarity]
admin/tool/brickfield/tests/local/tool/errors_test.php [moved from admin/tool/brickfield/tests/errors_test.php with 100% similarity]
admin/tool/brickfield/tests/local/tool/printable_test.php [moved from admin/tool/brickfield/tests/printable_test.php with 100% similarity]
admin/tool/httpsreplace/tests/httpsreplace_test.php
admin/tool/moodlenet/tests/local/import_handler_info_test.php [moved from admin/tool/moodlenet/tests/import_handler_info_test.php with 95% similarity]
admin/tool/moodlenet/tests/local/import_handler_registry_test.php [moved from admin/tool/moodlenet/tests/import_handler_registry_test.php with 97% similarity]
admin/tool/moodlenet/tests/local/import_info_test.php [moved from admin/tool/moodlenet/tests/import_info_test.php with 96% similarity]
admin/tool/moodlenet/tests/local/import_processor_test.php [moved from admin/tool/moodlenet/tests/import_processor_test.php with 98% similarity]
admin/tool/moodlenet/tests/local/remote_resource_test.php [moved from admin/tool/moodlenet/tests/remote_resource_test.php with 96% similarity]
admin/tool/moodlenet/tests/local/url_test.php [moved from admin/tool/moodlenet/tests/url_test.php with 96% similarity]
blocks/accessreview/tests/accessibility_review_test.php
blocks/badges/tests/badges_test.php
blocks/blog_menu/tests/blog_menu_test.php
blocks/blog_recent/tests/blog_recent_test.php
blocks/blog_tags/tests/blog_tags_test.php
blocks/comments/tests/comments_test.php
blocks/completionstatus/tests/completionstatus_test.php
blocks/globalsearch/tests/globalsearch_test.php
blocks/glossary_random/tests/glossary_random_test.php
blocks/lp/tests/lp_test.php
blocks/mnet_hosts/tests/mnet_hosts_test.php
blocks/tags/tests/tags_test.php
course/format/tests/output/local/state/state_test.php [moved from course/format/tests/state_test.php with 99% similarity]
course/tests/course_delete_modules_test.php
course/tests/notifications_test.php
enrol/meta/tests/external/add_instances_test.php [moved from enrol/meta/tests/external_add_instances_test.php with 98% similarity]
enrol/meta/tests/external/delete_instances_test.php [moved from enrol/meta/tests/external_delete_instances_test.php with 98% similarity]
grade/grading/form/guide/tests/grades/grader/gradingpanel/external/fetch_test.php [moved from grade/grading/form/guide/tests/grades_grader_gradingpanel_guide_external_fetch_test.php with 97% similarity]
grade/grading/form/guide/tests/grades/grader/gradingpanel/external/store_test.php [moved from grade/grading/form/guide/tests/grades_grader_gradingpanel_guide_external_store_test.php with 96% similarity]
grade/grading/form/rubric/tests/grades/grader/gradingpanel/external/fetch_test.php [moved from grade/grading/form/rubric/tests/grades_grader_gradingpanel_rubric_external_fetch_test.php with 97% similarity]
grade/grading/form/rubric/tests/grades/grader/gradingpanel/external/store_test.php [moved from grade/grading/form/rubric/tests/grades_grader_gradingpanel_rubric_external_store_test.php with 96% similarity]
grade/tests/component_gradeitems_test.php
grade/tests/grades/grader/gradingpanel/point/external/fetch_test.php [moved from grade/tests/grades_grader_gradingpanel_point_external_fetch_test.php with 96% similarity]
grade/tests/grades/grader/gradingpanel/point/external/store_test.php [moved from grade/tests/grades_grader_gradingpanel_point_external_store_test.php with 97% similarity]
grade/tests/grades/grader/gradingpanel/scale/external/fetch_test.php [moved from grade/tests/grades_grader_gradingpanel_scale_external_fetch_test.php with 97% similarity]
grade/tests/grades/grader/gradingpanel/scale/external/store_test.php [moved from grade/tests/grades_grader_gradingpanel_scale_external_store_test.php with 98% similarity]
h5p/tests/file_storage_test.php [moved from h5p/tests/h5p_file_storage_test.php with 99% similarity]
lib/tests/task/completion_daily_task_test.php [moved from lib/tests/completion_daily_task_test.php with 96% similarity]
lib/tests/task/manager_test.php [moved from lib/tests/task_manager_test.php with 96% similarity]
lib/tests/task/running_test.php [moved from lib/tests/task_running_test.php with 94% similarity]
mod/forum/tests/grade/forum_gradeitem_test.php [moved from mod/forum/tests/grades_forum_gradeitem_test.php with 97% similarity]
mod/forum/tests/grade/gradeitems_test.php [moved from mod/forum/tests/grades_gradeitems_test.php with 91% similarity]
mod/forum/tests/h5p/canedit_test.php [moved from mod/forum/tests/h5p_canedit_test.php with 97% similarity]
mod/lti/tests/local/ltiopenid/registration_test.php [moved from mod/lti/tests/openidregistration_test.php with 98% similarity]