aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2018-01-02 10:21:25 +0100
committerJean-Michel Vedrine <vedrine@vedrine.org>2018-01-02 10:21:25 +0100
commit1acf891ddc1b99ca58990dbb85866069c987c53b (patch)
tree4f761f4c056373ee8952c91f8455186d38e55172 /tests
parent0eb3c569ff1bcd9dc8273ed6b7d8899238c5c13f (diff)
Syntax error in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/questiontype_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/questiontype_test.php b/tests/questiontype_test.php
index 93e5294..745b7c1 100644
--- a/tests/questiontype_test.php
+++ b/tests/questiontype_test.php
@@ -79,7 +79,7 @@ class qtype_algebra_test extends advanced_testcase {
$q->id => array(
13 => new question_possible_response('2*x', 1),
14 => new question_possible_response('x', 0.2),
- null => question_possible_response::no_response()
+ null => question_possible_response::no_response(),
0 => new question_possible_response(get_string('didnotmatchanyanswer', 'question'), 0),
),
), $this->qtype->get_possible_responses($q));