mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-38829 core: Rewrite xmlize unit tests
These changes adjust the unit tests to compare known values rather than calculating them on the fly. The unit test against a 'bad' source has been modified to simply check for the relevant exception as PHP prevents any output on exceptions anyway.
This commit is contained in:
parent
533a7edeae
commit
79e4395888
2 changed files with 116 additions and 233 deletions
98
lib/tests/sample_questions.ser
Normal file
98
lib/tests/sample_questions.ser
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue