MDL-76362 question: Add test for number(null)

This commit is contained in:
Andrew Nicols 2023-01-06 21:21:09 +08:00
parent 745080671b
commit 4ff3447c8c

View File

@ -319,6 +319,10 @@ class question_engine_test extends advanced_testcase {
'',
'',
],
'Test with null' => [
null,
'',
],
'Test with number is 0' => [
0,
'<h3 class="no">Question <span class="qno">0</span></h3>',