From 258faccefdf5adc8c6f39f80787142addd649aa8 Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Tue, 2 Jan 2018 23:51:05 +0100 Subject: Fix problem with allowedfuncs in tests --- tests/helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/helper.php') diff --git a/tests/helper.php b/tests/helper.php index e0f0381..680b359 100644 --- a/tests/helper.php +++ b/tests/helper.php @@ -83,7 +83,7 @@ class qtype_algebra_test_helper extends question_test_helper { $qdata->options->nchecks = '10'; $qdata->options->tolerance = 0.001; $qdata->options->disallow = ''; - $qdata->options->allowedfuncs = ''; + $qdata->options->allowedfuncs = array(); $qdata->options->answerprefix = ''; $qdata->options->answers = array( 13 => new question_answer(13, '7*x', 1.0, 'This is a very good answer.', FORMAT_HTML), -- cgit v1.2.3