Skip to content

Commit

Permalink
Remove wrong and duplicated data in helper
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvu authored and AnupamaSarjoshi committed Jan 22, 2025
1 parent 6cff62a commit b674bcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tests/behat/edit.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ Feature: Test editing a Crossword question

Scenario: Edit a Crossword question
When I am on the "crossword-001" "core_question > edit" page logged in as teacher
And the following fields match these values:
| Question name | crossword-001 |
| Question text | Crossword question text |
And I set the following fields to these values:
| Question name | |
And I press "id_submitbutton"
Expand Down
2 changes: 0 additions & 2 deletions tests/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public function make_crossword_question_normal() {
$cw->numrows = 5;
$cw->numcolumns = 7;
$cw->accentgradingtype = qtype_crossword::ACCENT_GRADING_STRICT;
$cw->quotematching = 0;
$cw->accentpenalty = 0;
$cw->qtype = question_bank::get_qtype('crossword');
$cw->generalfeedback = '';
Expand Down Expand Up @@ -175,7 +174,6 @@ public function get_crossword_question_form_data_normal() {
$fromform->numcolumns = 7;
$fromform->accentgradingtype = qtype_crossword::ACCENT_GRADING_STRICT;
$fromform->accentpenalty = 0;
$fromform->questiontext = 0;
$fromform->quotematching = 0;
return $fromform;
}
Expand Down

0 comments on commit b674bcf

Please sign in to comment.