Skip to content

Commit

Permalink
Merge branch 'MDL-55316-master' of https://github.com/mrmark/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Aug 2, 2016
2 parents 0396125 + 2b509db commit 2460f3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions completion/tests/behat/behat_completion.php
Expand Up @@ -102,6 +102,9 @@ public function completion_is_toggled_in_course($completionstatus) {
// Go to course editing. // Go to course editing.
$this->execute("behat_general::click_link", get_string('editsettings')); $this->execute("behat_general::click_link", get_string('editsettings'));


// Expand all the form fields.
$this->execute("behat_forms::i_expand_all_fieldsets");

// Enable completion. // Enable completion.
$this->execute("behat_forms::i_set_the_field_to", $this->execute("behat_forms::i_set_the_field_to",
array(get_string('enablecompletion', 'completion'), $toggle)); array(get_string('enablecompletion', 'completion'), $toggle));
Expand Down

0 comments on commit 2460f3b

Please sign in to comment.