MDL-32135 mod_choice: fix behat tests
authorDan Poltawski <dan@moodle.com>
Wed, 29 Jun 2016 16:49:16 +0000 (17:49 +0100)
committerDan Poltawski <dan@moodle.com>
Thu, 30 Jun 2016 08:24:59 +0000 (09:24 +0100)
mod/choice/tests/behat/publish_results.feature

index 2e1e7fe..16faeab 100644 (file)
@@ -76,6 +76,11 @@ Feature: A teacher can choose one of 4 options for publishing choice results
     And I expand all fieldsets
     And I set the following fields to these values:
       | Restrict answering to this time period | 1 |
+      | timeopen[day] | 1 |
+      | timeopen[month] | January |
+      | timeopen[year] | 2010 |
+      | timeclose[day] | 2 |
+      | timeclose[month] | January |
       | timeclose[year] | 2010 |
     And I press "Save and return to course"
     And I log out