mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
674497a12c
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).