The test helper previously used 'html' for the format passed to formattext(). This expects a FORMAT constant but prior to Moodle 4.4 defaulted to FORMAT_MOODLE for unrecognised values. It now throws an exception for such values (MDL-80072). This change uses FORMAT_HTML instead.
With this change all PHPUnit tests now pass (OK (30 tests, 416 assertions)).
The test helper previously used 'html' for the format passed to formattext(). This expects a FORMAT constant but prior to Moodle 4.4 defaulted to FORMAT_MOODLE for unrecognised values. It now throws an exception for such values (MDL-80072). This change uses FORMAT_HTML instead.
With this change all PHPUnit tests now pass (OK (30 tests, 416 assertions)).