From dc24efe971ba1d8960ef79c1c4b9018d7988d0aa Mon Sep 17 00:00:00 2001 From: David Monllao Date: Mon, 10 Jun 2013 11:17:48 +0800 Subject: [PATCH] MDL-40110 behat: AM/PM strings are OS-dependant, removing this part from tests --- mod/lesson/tests/behat/date_availability.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/lesson/tests/behat/date_availability.feature b/mod/lesson/tests/behat/date_availability.feature index 026661a92a2..a69e1e7072f 100644 --- a/mod/lesson/tests/behat/date_availability.feature +++ b/mod/lesson/tests/behat/date_availability.feature @@ -44,7 +44,7 @@ Feature: A teacher can set available from and deadline dates to access a lesson And I log in as "student1" And I follow "Course 1" When I follow "Test lesson" - Then I should see "This lesson will be open on Wednesday, 1 January 2020, 8:00 AM." + Then I should see "This lesson will be open on Wednesday, 1 January 2020, 8:00" And I should not see "First page contents" @javascript @@ -71,5 +71,5 @@ Feature: A teacher can set available from and deadline dates to access a lesson And I log in as "student1" And I follow "Course 1" When I follow "Test lesson" - Then I should see "This lesson closed on Saturday, 1 January 2000, 8:00 AM." + Then I should see "This lesson closed on Saturday, 1 January 2000, 8:00" And I should not see "First page contents"