Skip to content

Commit 72ae7f5

Browse files
committed
q-edit - Code tidy
1 parent 15cb9a7 commit 72ae7f5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/editform_test.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ public function __construct($questiontext, $specificfeedback, $quizmoduleid) {
8484
* @param mixed $itemid
8585
* @param mixed $filearea
8686
* @return array
87+
* phpcs:disable Generic.CodeAnalysis.UselessOverridingMethod.Found
8788
*/
8889
public function prepare_text_field($field, $text, $format, $itemid, $filearea = '') {
8990
return parent::prepare_text_field($field, $text, $format, $itemid, $filearea);
@@ -114,7 +115,7 @@ protected function get_form($questiontext, $specificfeedback) {
114115
return new editform_test_class($questiontext, $specificfeedback, $quizmoduleid);
115116
}
116117

117-
public function x_test_get_input_names_from_question_text_default(): void {
118+
public function test_get_input_names_from_question_text_default(): void {
118119

119120
$form = $this->get_form(\qtype_stack_edit_form::DEFAULT_QUESTION_TEXT,
120121
\qtype_stack_edit_form::DEFAULT_SPECIFIC_FEEDBACK);
@@ -124,7 +125,7 @@ public function x_test_get_input_names_from_question_text_default(): void {
124125
$qtype->get_input_names_from_question_text(\qtype_stack_edit_form::DEFAULT_QUESTION_TEXT));
125126
}
126127

127-
public function x_test_get_prt_names_from_question_default(): void {
128+
public function test_get_prt_names_from_question_default(): void {
128129

129130
$form = $this->get_form(\qtype_stack_edit_form::DEFAULT_QUESTION_TEXT,
130131
\qtype_stack_edit_form::DEFAULT_SPECIFIC_FEEDBACK);

0 commit comments

Comments
 (0)