MDL-81520 core: Fix test finality

This commit is contained in:
Andrew Nicols
2024-12-11 12:30:21 +08:00
parent 9dbf9e9829
commit cc54b4e78a
1582 changed files with 2022 additions and 1956 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ require_once($CFG->dirroot . '/question/engine/tests/helpers.php');
* @copyright 2009 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class xmlformat_test extends \question_testcase {
final class xmlformat_test extends \question_testcase {
public function assert_same_xml($expectedxml, $xml) {
$this->assertEquals(str_replace("\r\n", "\n", $expectedxml),
str_replace("\r\n", "\n", $xml));