MDL-54940 behat: rectify section edit regression in MDL-53381

This commit is contained in:
Luke Carrier
2016-06-19 17:24:59 +01:00
parent a7221c5f19
commit 2cfe2ecee6
+1 -1
View File
@@ -401,7 +401,7 @@ class behat_course extends behat_base {
public function i_edit_the_section_and_i_fill_the_form_with($sectionnumber, TableNode $data) {
// Edit given section.
$this->execute("behat_course::i_edit_the_section");
$this->execute("behat_course::i_edit_the_section", $sectionnumber);
// Set form fields.
$this->execute("behat_forms::i_set_the_following_fields_to_these_values", $data);