MDL-32135 mod_choice: update behat tests
authorStephen Bourget <steve.bourget@sau19.org>
Wed, 29 Jun 2016 15:19:10 +0000 (11:19 -0400)
committerDan Poltawski <dan@moodle.com>
Thu, 30 Jun 2016 08:24:59 +0000 (09:24 +0100)
mod/choice/tests/behat/allow_preview.feature

index f5c2428..9d2c1d2 100644 (file)
@@ -27,9 +27,12 @@ Feature: Allow choice preview
       | option[0] | Option 1 |
       | option[1] | Option 2 |
       | Restrict answering to this time period | 1 |
       | option[0] | Option 1 |
       | option[1] | Option 2 |
       | Restrict answering to this time period | 1 |
-      | timeopen[day] | 31 |
+      | timeopen[day] | 30 |
       | timeopen[month] | December |
       | timeopen[year] | 2037 |
       | timeopen[month] | December |
       | timeopen[year] | 2037 |
+      | timeclose[day] | 31 |
+      | timeclose[month] | December |
+      | timeclose[year] | 2037 |
       | Show preview | 1 |
     And I log out
     When I log in as "student1"
       | Show preview | 1 |
     And I log out
     When I log in as "student1"