diff options
author | Rodney Dawes <dobey.pwns@gmail.com> | 2018-11-04 20:35:23 -0500 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-09 03:49:53 +0200 |
commit | b584e8ffc67ee1ca07528f742227574aae95a7a3 (patch) | |
tree | 0e5eea555b1869823e5f0b98e451c3ad6510450a /tests | |
parent | bdf012f78b2ffd7356adcaa707b977889671c190 (diff) | |
download | ayatana-indicator-datetime-b584e8ffc67ee1ca07528f742227574aae95a7a3.tar.gz ayatana-indicator-datetime-b584e8ffc67ee1ca07528f742227574aae95a7a3.tar.bz2 ayatana-indicator-datetime-b584e8ffc67ee1ca07528f742227574aae95a7a3.zip |
Fix the EDS tests that were failing.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-eds-ics-missing-trigger.cpp | 2 | ||||
-rw-r--r-- | tests/test-eds-ics-non-attending-alarms.cpp | 2 |
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 |