Permalink
Browse files

MDL-43717 behat: Replacing 2050 for a date eariler than the max times…

…tamp 32bit limit

All credit goes to Michael de Raadt.
  • Loading branch information...
dmonllao committed Jan 16, 2014
1 parent 9c1c9d8 commit 2ab17fbdeb38f17357a08cd78b5628632928036f
Showing with 2 additions and 2 deletions.
  1. +2 −2 completion/tests/behat/restrict_activity_by_date.feature
@@ -37,13 +37,13 @@ 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 | 2037 |
| id_showavailability | 1 |
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 2037."
And "Test assignment 1" activity should be hidden
And I log out

0 comments on commit 2ab17fb

Please sign in to comment.