From 8fa9f27c7e5a33060e172d4731708212422bcfe7 Mon Sep 17 00:00:00 2001 From: Angelia Dela Cruz Date: Thu, 26 Oct 2023 18:00:00 +0800 Subject: [PATCH] MDL-79768 fix: Fixed random failing Behat due to time difference --- mod/data/tests/behat/data_activity_timeline.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/data/tests/behat/data_activity_timeline.feature b/mod/data/tests/behat/data_activity_timeline.feature index c3b2873455f..0caa84921c3 100644 --- a/mod/data/tests/behat/data_activity_timeline.feature +++ b/mod/data/tests/behat/data_activity_timeline.feature @@ -36,7 +36,7 @@ Feature: Students can view upcoming data activities in the timeline block And the activity date in "DB Future" should contain "%A, %d %B %Y, %I:%M##" Examples: - | pastfrom | pastto | futurefrom | futureto | - | ##1 month ago## | ##yesterday## | ##tomorrow## | ##tomorrow +1day## | - | ##yesterday## | ##yesterday +3hours## | ##tomorrow +3hours## | ##tomorrow +8hours## | - | ##6 months ago## | ##1 week ago## | ##now +6hours## | ##tomorrow +6days## | + | pastfrom | pastto | futurefrom | futureto | + | ##1 month ago## | ##yesterday## | ##tomorrow## | ##tomorrow +1day## | + | ##yesterday## | ##yesterday +3hours## | ##tomorrow noon## | ##tomorrow noon +3hours## | + | ##6 months ago## | ##1 week ago## | ##tomorrow +5days## | ##tomorrow +6days## |