Skip to content

Commit d27d471

Browse files
committed
test: remove version restriction in test_rendered_html_should_match_snapshot
1 parent 28c7125 commit d27d471

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/local/form/elements/element_html_test.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ final class element_html_test extends \advanced_testcase {
5151
* @covers \qtype_questionpy\local\form\qpy_renderable
5252
*/
5353
public function test_rendered_html_should_match_snapshot(string $elementkind, qpy_renderable $element): void {
54-
global $CFG;
55-
if ($CFG->branch < '500') {
56-
$this->markTestSkipped('Mform HTML output changes between Moodle versions so we only run them on 5.X');
57-
}
58-
5954
$snapshotfilepath = __DIR__ . '/html/' . $elementkind . '.html';
6055

6156
// The sesskey is part of the form and therefore needs to be deterministic.

0 commit comments

Comments
 (0)