moodle/admin/tool/policy/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-69231 behat: remaining work for role capability generator 2023-06-02 12:47:27 +08:00
privacy MDL-81523 phpunit: Add all missing setUp/tearDown parent calls 2024-06-14 16:04:57 +02:00
api_test.php MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
externallib_test.php MDL-81523 phpunit: Add all missing setUp/tearDown parent calls 2024-06-14 16:04:57 +02:00
sitepolicy_handler_test.php MDL-81522 phpunit: Add missing void return type to all tests 2024-06-11 11:55:07 +02:00