-
Bug
-
Resolution: Fixed
-
Minor
-
3.6.6, 3.7.2, 3.8, 3.9.17, 3.11.10, 4.0.4, 4.1
-
MOODLE_311_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
With MDLSITE-4800, rules about how to use namespaces within **/tests directories have been agreed
Right now there are some uses in core violating that agreement:
$ ag '^namespace' | grep _test.php
|
blocks/html/tests/search_content_test.php:25:namespace block_html;
|
admin/tool/httpsreplace/tests/httpsreplace_test.php:25:namespace tool_httpsreplace\tests;
|
grade/grading/form/guide/tests/generator_test.php:26:namespace tests\gradingform_guide;
|
grade/grading/form/rubric/tests/privacy_test.php:26:namespace tests\gradingform_rubric;
|
grade/grading/form/rubric/tests/generator_test.php:26:namespace tests\gradingform_rubric;
|
grade/grading/tests/generator_test.php:26:namespace tests\core_grading;
|
search/tests/skip_future_documents_iterator_test.php:26:namespace core_search;
|
search/tests/external_test.php:25:namespace core_search;
|
webservice/soap/tests/wsdl_test.php:25:namespace webservice_soap;
|
lib/form/tests/external_test.php:26:namespace core_form;
|
lib/form/tests/filetypes_util_test.php:26:namespace core_form;
|
mod/assign/tests/privacy_test.php:25:namespace mod_assign\tests;
|
This issue is about to fix all them and make core compliant.
Ciao
- will be (partly) resolved by
-
MDL-71049 Make test files and test classes to match to get phpunit able to run individual files
-
- Closed
-