Skip to content

Commit

Permalink
MDL-42282 Behat: Max year in date feild is 2020 in 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajesh Taneja authored and danpoltawski committed Oct 29, 2013
1 parent 39ab79c commit 0dc1862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions completion/tests/behat/restrict_activity_by_date.feature
Expand Up @@ -34,14 +34,14 @@ Feature: Restrict activity availability through date conditions
| assignsubmission_file_enabled | 0 | | assignsubmission_file_enabled | 0 |
| id_availablefrom_day | 31 | | id_availablefrom_day | 31 |
| id_availablefrom_month | 12 | | id_availablefrom_month | 12 |
| id_availablefrom_year | 2050 | | id_availablefrom_year | 2020 |
| id_showavailability | 1 | | id_showavailability | 1 |
And I click on "id_availablefrom_enabled" "checkbox" And I click on "id_availablefrom_enabled" "checkbox"
And I press "Save and return to course" And I press "Save and return to course"
And I log out And I log out
When I log in as "student1" When I log in as "student1"
And I follow "Course 1" And I follow "Course 1"
Then I should see "Available from 31 December 2050." Then I should see "Available from 31 December 2020."
And "Test assignment 1" activity should be hidden And "Test assignment 1" activity should be hidden
And I log out And I log out


Expand Down

0 comments on commit 0dc1862

Please sign in to comment.