Merge branch 'MDL-76870-master' of https://github.com/lameze/moodle

This commit is contained in:
Ilya Tregubov 2023-01-19 11:14:46 +08:00
commit 42a2b973ce

View file

@ -83,7 +83,8 @@ class backup_test extends \advanced_testcase {
$this->assertTrue($precheck);
} else {
$precheckresults = $rc->get_precheck_results();
$this->assertEquals(['warnings' => $expectedprecheckwarning], $precheckresults);
$this->assertEqualsCanonicalizing($expectedprecheckwarning, $precheckresults['warnings']);
$this->assertCount(1, $precheckresults);
}
$rc->execute_plan();
$rc->destroy();