Permalink
Browse files

MDL-42282 Behat: Max year in date feild is 2020 in 2.5

  • Loading branch information...
Rajesh Taneja authored and danpoltawski committed Oct 29, 2013
1 parent 39ab79c commit 0dc1862e774e88e9d619248b85f9d1c43856f6fc
Showing with 2 additions and 2 deletions.
  1. +2 −2 completion/tests/behat/restrict_activity_by_date.feature
@@ -34,14 +34,14 @@ Feature: Restrict activity availability through date conditions
| assignsubmission_file_enabled | 0 |
| id_availablefrom_day | 31 |
| id_availablefrom_month | 12 |
| id_availablefrom_year | 2050 |
| id_availablefrom_year | 2020 |
| id_showavailability | 1 |
And I click on "id_availablefrom_enabled" "checkbox"
And I press "Save and return to course"
And I log out
When I log in as "student1"
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 I log out

0 comments on commit 0dc1862

Please sign in to comment.