From b584e8ffc67ee1ca07528f742227574aae95a7a3 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Sun, 4 Nov 2018 20:35:23 -0500 Subject: Fix the EDS tests that were failing. --- tests/test-eds-ics-missing-trigger.cpp | 2 +- tests/test-eds-ics-non-attending-alarms.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test-eds-ics-missing-trigger.cpp b/tests/test-eds-ics-missing-trigger.cpp index 3da53ae..70bbccb 100644 --- a/tests/test-eds-ics-missing-trigger.cpp +++ b/tests/test-eds-ics-missing-trigger.cpp @@ -63,7 +63,7 @@ TEST_F(VAlarmFixture, MissingTriggers) // make a planner that looks at the first half of 2015 in EDS auto planner = std::make_shared(engine, tz); const DateTime range_begin {gtz, 2015,1, 1, 0, 0, 0.0}; - const DateTime range_end {gtz, 2015,6,30,23,59,59.5}; + const DateTime range_end {gtz, 2015,7,1,23,59,59.5}; planner->range().set(std::make_pair(range_begin, range_end)); // give EDS a moment to load diff --git a/tests/test-eds-ics-non-attending-alarms.cpp b/tests/test-eds-ics-non-attending-alarms.cpp index efbb5fd..bfa3ac3 100644 --- a/tests/test-eds-ics-non-attending-alarms.cpp +++ b/tests/test-eds-ics-non-attending-alarms.cpp @@ -62,7 +62,7 @@ TEST_F(VAlarmFixture, NonAttendingEvent) // make a planner that looks at the first half of 2016 in EDS auto planner = std::make_shared(engine, tz); const DateTime range_begin {gtz, 2016,1, 1, 0, 0, 0.0}; - const DateTime range_end {gtz, 2016,6,31,23,59,59.5}; + const DateTime range_end {gtz, 2016,6,30,23,59,59.5}; planner->range().set(std::make_pair(range_begin, range_end)); // give EDS a moment to load -- cgit v1.2.3