Skip to content

Commit de08e97

Browse files
committed
MOBILE-4974 behat: Fix failure with choice dates
1 parent fa8f900 commit de08e97

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/addons/mod/choice/tests/behat/choice_availability.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Feature: Restrict availability of the choice module to a deadline
2727
Scenario: Enable the choice activity with a start deadline in the future
2828
Given I set the following fields to these values:
2929
| timeopen[enabled] | 1 |
30-
| timeopen[day] | 30 |
3130
| timeopen[month] | December |
31+
| timeopen[day] | 30 |
3232
| timeopen[year] | 2037 |
3333
| timeopen[hour] | 00 |
3434
| timeopen[minute] | 00 |
@@ -45,8 +45,8 @@ Feature: Restrict availability of the choice module to a deadline
4545
Scenario: Enable the choice activity with a start deadline in the future with show preview options
4646
Given I set the following fields to these values:
4747
| timeopen[enabled] | 1 |
48-
| timeopen[day] | 30 |
4948
| timeopen[month] | December |
49+
| timeopen[day] | 30 |
5050
| timeopen[year] | 2037 |
5151
| timeopen[hour] | 00 |
5252
| timeopen[minute] | 00 |
@@ -64,8 +64,8 @@ Feature: Restrict availability of the choice module to a deadline
6464
Scenario: Enable the choice activity with a start deadline in the past
6565
Given I set the following fields to these values:
6666
| timeopen[enabled] | 1 |
67-
| timeopen[day] | 30 |
6867
| timeopen[month] | December |
68+
| timeopen[day] | 30 |
6969
| timeopen[year] | 2007 |
7070
| timeopen[hour] | 00 |
7171
| timeopen[minute] | 00 |
@@ -86,8 +86,8 @@ Feature: Restrict availability of the choice module to a deadline
8686
Scenario: Enable the choice activity with a end deadline in the future
8787
Given I set the following fields to these values:
8888
| timeclose[enabled] | 1 |
89-
| timeclose[day] | 30 |
9089
| timeclose[month] | December |
90+
| timeclose[day] | 30 |
9191
| timeclose[year] | 2037 |
9292
| timeclose[hour] | 00 |
9393
| timeclose[minute] | 00 |
@@ -108,8 +108,8 @@ Feature: Restrict availability of the choice module to a deadline
108108
Scenario: Enable the choice activity with a end deadline in the past
109109
Given I set the following fields to these values:
110110
| timeclose[enabled] | 1 |
111-
| timeclose[day] | 30 |
112111
| timeclose[month] | December |
112+
| timeclose[day] | 30 |
113113
| timeclose[year] | 2007 |
114114
| timeclose[hour] | 00 |
115115
| timeclose[minute] | 00 |

0 commit comments

Comments
 (0)