diff --git a/renderer.php b/renderer.php index 99c1c33..709bb6c 100644 --- a/renderer.php +++ b/renderer.php @@ -134,7 +134,7 @@ public function matrix_table(question_attempt $qa, question_display_options $opt $response = $qa->get_last_qt_data(); $caption = $options->add_question_identifier_to_label(get_string('answer'), false, true); - $table = html_writer::start_tag('fieldset', ['class' => 'ablock no-overflow visual-scroll-x']); + $table = html_writer::start_tag('fieldset', ['class' => 'ablock no-overflow']); $table .= html_writer::tag('legend', $caption, ['class' => 'sr-only']); $table .= html_writer::start_tag('div', ['class' => 'answer']); diff --git a/tests/questiontype_test.php b/tests/questiontype_test.php index 07aebdd..d0c288e 100644 --- a/tests/questiontype_test.php +++ b/tests/questiontype_test.php @@ -45,12 +45,14 @@ final class questiontype_test extends \advanced_testcase { #[\Override] protected function setUp(): void { + parent::setUp(); $this->qtype = new qtype_oumatrix(); } #[\Override] protected function tearDown(): void { $this->qtype = null; + parent::tearDown(); } public function test_name(): void {