mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
Merge branch 'MDL-81553' of https://github.com/aolley/moodle
This commit is contained in:
commit
56ea31a508
@ -71,11 +71,11 @@ class backup_stepslib_test extends \advanced_testcase {
|
||||
break;
|
||||
}
|
||||
}
|
||||
$bc->destroy();
|
||||
|
||||
$reflection = new \ReflectionClass($step);
|
||||
$method = $reflection->getMethod('define_structure');
|
||||
$structure = $method->invoke($step);
|
||||
$bc->destroy();
|
||||
|
||||
$elements = $structure->get_final_elements();
|
||||
$this->assertArrayHasKey('number', $elements);
|
||||
|
Loading…
x
Reference in New Issue
Block a user