MDL-32135 mod_choice: fix behat tests
[moodle.git] / 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