MDL-86016 tests: Make install.xml test less restrictive

This commit is contained in:
Andrew Nicols
2025-07-15 09:33:12 +08:00
parent 4ea8645494
commit 44d7ffeb89
+5 -2
View File
@@ -52,7 +52,10 @@ final class plugin_checks_test extends \core\tests\plugin_checks_testcase {
$xmldb = new \xmldb_file($file);
$xmldb->loadXMLStructure();
$xmlcontents = $xmldb->getStructure()->xmlOutput();
$this->assertSame($xmlcontents, $rawcontents,
"Unexpected install.xml format detected, reconciliation needed in $file");
$this->assertXmlStringEqualsXmlString(
$rawcontents,
$xmlcontents,
"XMLDB structure does not match the install.xml file in $file",
);
}
}