From: Tim Hunt Date: Fri, 21 Aug 2015 11:32:55 +0000 (+0100) Subject: MDL-47494 gapselect: Fix unit tests for 3.0 compatibility. X-Git-Tag: v3.0.0-beta~227^2~14^2~1 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=b0380cd8846879a2335fae90c456c98853cf0df2 MDL-47494 gapselect: Fix unit tests for 3.0 compatibility. --- diff --git a/question/type/gapselect/tests/walkthrough_test.php b/question/type/gapselect/tests/walkthrough_test.php index 28676318394..521d386a63d 100644 --- a/question/type/gapselect/tests/walkthrough_test.php +++ b/question/type/gapselect/tests/walkthrough_test.php @@ -98,8 +98,6 @@ class qtype_gapselect_walkthrough_test extends qbehaviour_walkthrough_test_base $this->get_contains_submit_button_expectation(false), $this->get_contains_try_again_button_expectation(true), $this->get_does_not_contain_correctness_expectation(), - new question_pattern_expectation('/' . preg_quote( - get_string('notcomplete', 'qbehaviour_interactive'), '/') . '/'), $this->get_contains_hint_expectation('This is the first hint')); // Do try again.