Make sure created session is later today.
authorDan Marsden <dan@danmarsden.com>
Fri, 27 Oct 2017 02:18:11 +0000 (15:18 +1300)
committerDan Marsden <dan@danmarsden.com>
Fri, 27 Oct 2017 02:18:11 +0000 (15:18 +1300)
tests/behat/calendar_features.feature

index d86bc76..5e97214 100644 (file)
@@ -27,8 +27,10 @@ Feature: Test the calendar related features in the attendance module
     And I follow "Test attendance"
     And I follow "Add session"
     And I set the following fields to these values:
-      | id_sestime_starthour | 01 |
-      | id_sestime_endhour   | 02 |
+      | id_sestime_starthour   | 23 |
+      | id_sestime_startminute | 00 |
+      | id_sestime_endhour     | 23 |
+      | id_sestime_endminute   | 55 |
     And I click on "id_submitbutton" "button"
     And I am on "Course 1" course homepage
     And I follow "Go to calendar"