moodle/h5p/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-69331 core_h5p: Add enabled field to libraries 2021-04-15 09:03:56 +02:00
event MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
external MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
fixtures MDL-74129 h5p: Preserve metadata information 2023-11-10 10:33:06 +01:00
generator MDL-75952 general: Since php81, refection->setAccessible() is no-op 2024-03-10 21:15:00 +01:00
local/library MDL-73278 phpunit: Rename already namespaced classes to match file name 2021-12-07 23:54:29 +01:00
api_test.php MDL-76859 h5p: Fix behat failures 2023-04-12 12:26:23 +02:00
editor_ajax_test.php MDL-71970 h5plib_v124: Replace references to new Moodle\H5Pxxx namespace 2021-09-27 11:41:48 +02:00
editor_framework_test.php MDL-69331 core_h5p: Add enabled field to libraries 2021-04-15 09:03:56 +02:00
editor_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
file_storage_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
framework_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
h5p_core_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00
helper_test.php MDL-81523 phpunit: Add all missing setUp/tearDown parent calls 2024-06-14 16:04:57 +02:00