mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-81462 phpunit: Add missing controller->destroy()
So we ensure that all file descriptors and backup temp structures are properly closed and cleaned up.
This commit is contained in:
parent
26649f5750
commit
ed84111010
@ -71,6 +71,7 @@ class backup_stepslib_test extends \advanced_testcase {
|
||||
break;
|
||||
}
|
||||
}
|
||||
$bc->destroy();
|
||||
|
||||
$reflection = new \ReflectionClass($step);
|
||||
$method = $reflection->getMethod('define_structure');
|
||||
|
Loading…
x
Reference in New Issue
Block a user