moodle/question/tests
Eloy Lafuente (stronk7) 674497a12c
MDL-81523 phpunit: Add all missing setUp/tearDown parent calls
All setUp(), tearDown(), setUpBeforeClass() and tearDownAfterClass()
must, always, call to parent, to ensure that everything is properly
set and cleaned.

While in a lot of situations this is not needed (parents may not
have anything to run), with PHPUnit >= 10 this can become more
important because we are going to move the reset code from current
placement @ runBare() to setUp()/tearDown().

Note that all the changes performed in this commit have been detected
and fixed by moodle-cs (ParentSetUpTearDownSniffTest).
2024-06-14 16:04:57 +02:00
..
behat MDL-71733 behat: final removal of deprecated 400 step definitions. 2024-01-04 12:43:52 +00:00
event MDL-81523 phpunit: Add all missing setUp/tearDown parent calls 2024-06-14 16:04:57 +02:00
fixtures MDL-71636 core_question : API changes for column_base 2022-03-02 08:14:48 +00:00
generator MDL-78547 quiz: in a preview, if a question has been edited, update it 2024-03-07 16:14:47 +00:00
local MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
privacy MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
backup_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
calculated_question_summary_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
coverage.php MDL-76362 question: Refactor question number unit tests 2023-01-23 09:15:54 +08:00
externallib_test.php MDL-81523 phpunit: Add all missing setUp/tearDown parent calls 2024-06-14 16:04:57 +02:00
generator_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
importexport_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
least_used_variant_strategy_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
privacy_helper.php MDL-77164 privacy: typehint test content writer 2023-04-13 09:43:15 +01:00
question_bank_column_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
random_question_loader_test.php MDL-81641 question: fix random question loader draft state tests 2024-04-23 18:25:04 +01:00
version_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00