aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRodney Dawes <dobey.pwns@gmail.com>2018-11-04 20:35:23 -0500
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:38:27 +0200
commit7f696375f7ac20e7aca6a4c544ebbb9ec05c53cc (patch)
tree27b76364344953652c87d11faaa68d0e24d71caf /tests
parentf557230cf66dd2278729201140c2d6812d9e3c72 (diff)
downloadayatana-indicator-datetime-7f696375f7ac20e7aca6a4c544ebbb9ec05c53cc.tar.gz
ayatana-indicator-datetime-7f696375f7ac20e7aca6a4c544ebbb9ec05c53cc.tar.bz2
ayatana-indicator-datetime-7f696375f7ac20e7aca6a4c544ebbb9ec05c53cc.zip
Fix the EDS tests that were failing.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-eds-ics-missing-trigger.cpp2
-rw-r--r--tests/test-eds-ics-non-attending-alarms.cpp2
2 files changed, 2 insertions, 2 deletions
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<SimpleRangePlanner>(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<SimpleRangePlanner>(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