Commit b674bcf 1 parent 6cff62a commit b674bcf Copy full SHA for b674bcf
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ Feature: Test editing a Crossword question
23
23
24
24
Scenario : Edit a Crossword question
25
25
When I am on the "crossword-001" "core_question > edit" page logged in as teacher
26
+ And the following fields match these values:
27
+ | Question name | crossword -001 |
28
+ | Question text | Crossword question text |
26
29
And I set the following fields to these values:
27
30
| Question name | |
28
31
And I press "id_submitbutton"
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ public function make_crossword_question_normal() {
77
77
$ cw ->numrows = 5 ;
78
78
$ cw ->numcolumns = 7 ;
79
79
$ cw ->accentgradingtype = qtype_crossword::ACCENT_GRADING_STRICT ;
80
- $ cw ->quotematching = 0 ;
81
80
$ cw ->accentpenalty = 0 ;
82
81
$ cw ->qtype = question_bank::get_qtype ('crossword ' );
83
82
$ cw ->generalfeedback = '' ;
@@ -175,7 +174,6 @@ public function get_crossword_question_form_data_normal() {
175
174
$ fromform ->numcolumns = 7 ;
176
175
$ fromform ->accentgradingtype = qtype_crossword::ACCENT_GRADING_STRICT ;
177
176
$ fromform ->accentpenalty = 0 ;
178
- $ fromform ->questiontext = 0 ;
179
177
$ fromform ->quotematching = 0 ;
180
178
return $ fromform ;
181
179
}
You can’t perform that action at this time.
0 commit comments