From 8ef423433d62570fba407e19c791b409e1bd84ae Mon Sep 17 00:00:00 2001 From: David Monllao Date: Thu, 16 Jan 2014 14:55:02 +0800 Subject: [PATCH] MDL-43717 behat: Replacing 2050 for a date eariler than the max timestamp 32bit limit All credit goes to Michael de Raadt. --- completion/tests/behat/restrict_activity_by_date.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/completion/tests/behat/restrict_activity_by_date.feature b/completion/tests/behat/restrict_activity_by_date.feature index 8e700b13144..52e7a26a96f 100644 --- a/completion/tests/behat/restrict_activity_by_date.feature +++ b/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 -- 2.43.0