MDL-86431 phpunit: Rename test teardown method

This commit is contained in:
Andrew Nicols
2025-09-17 13:58:16 +08:00
parent 93aa033801
commit b2c991e3c9
+4 -1
View File
@@ -39,8 +39,11 @@ abstract class basic_testcase extends base_testcase {
$this->setRunTestInSeparateProcess(false);
}
/**
* Teardown method to reset data after tests.
*/
#[After]
final public function test_teardown(): void {
final public function teardown_after_test(): void {
global $DB;
if ($DB->is_transaction_started()) {