mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-76870-master' of https://github.com/lameze/moodle
This commit is contained in:
commit
42a2b973ce
1 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,8 @@ class backup_test extends \advanced_testcase {
|
||||||
$this->assertTrue($precheck);
|
$this->assertTrue($precheck);
|
||||||
} else {
|
} else {
|
||||||
$precheckresults = $rc->get_precheck_results();
|
$precheckresults = $rc->get_precheck_results();
|
||||||
$this->assertEquals(['warnings' => $expectedprecheckwarning], $precheckresults);
|
$this->assertEqualsCanonicalizing($expectedprecheckwarning, $precheckresults['warnings']);
|
||||||
|
$this->assertCount(1, $precheckresults);
|
||||||
}
|
}
|
||||||
$rc->execute_plan();
|
$rc->execute_plan();
|
||||||
$rc->destroy();
|
$rc->destroy();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue