Merge branch 'MDL-48382_27' of git://github.com/timhunt/moodle into MOODLE_27_STABLE

This commit is contained in:
Sam Hemelryk
2014-12-01 13:58:17 +13:00
+2 -1
View File
@@ -53,10 +53,11 @@ class behat_mod_quiz extends behat_question_base {
public function i_add_question_to_the_quiz_with($questiontype, $quizname, TableNode $questiondata) {
$quizname = $this->escape($quizname);
$editquiz = $this->escape(get_string('editquiz', 'quiz'));
$quizadmin = $this->escape(get_string('pluginadministration', 'quiz'));
$addaquestion = $this->escape(get_string('addaquestion', 'quiz'));
return array_merge(array(
new Given("I follow \"$quizname\""),
new Given("I follow \"$editquiz\""),
new Given("I navigate to \"$editquiz\" node in \"$quizadmin\""),
new Given("I press \"$addaquestion\""),
), $this->finish_adding_question($questiontype, $questiondata));
}