diff options
author | Robert Tari <robert@tari.in> | 2023-07-10 02:57:33 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-09-09 13:31:45 +0200 |
commit | bae39a93b20e5099a7fea6f7356a422c71fe4bc3 (patch) | |
tree | 7f60d92431148ca7215fc1627267110944fa217d /tests/test-eds-ics-non-attending-alarms.cpp | |
parent | 18e9350ddf455cce186eb3d0a428364fc521fd5b (diff) | |
download | ayatana-indicator-datetime-bae39a93b20e5099a7fea6f7356a422c71fe4bc3.tar.gz ayatana-indicator-datetime-bae39a93b20e5099a7fea6f7356a422c71fe4bc3.tar.bz2 ayatana-indicator-datetime-bae39a93b20e5099a7fea6f7356a422c71fe4bc3.zip |
Fix failing tests
fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/108
Diffstat (limited to 'tests/test-eds-ics-non-attending-alarms.cpp')
-rw-r--r-- | tests/test-eds-ics-non-attending-alarms.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test-eds-ics-non-attending-alarms.cpp b/tests/test-eds-ics-non-attending-alarms.cpp index ca1c8ed..629c1fc 100644 --- a/tests/test-eds-ics-non-attending-alarms.cpp +++ b/tests/test-eds-ics-non-attending-alarms.cpp @@ -1,6 +1,6 @@ /* * Copyright 2015 Canonical Ltd. - * Copyright 2021 Robert Tari + * Copyright 2021-2023 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -81,9 +81,10 @@ TEST_F(VAlarmFixture, NonAttendingEvent) // the planner should match what we've got in the calendar.ics file const auto appts = planner->appointments().get(); - EXPECT_EQ(2, appts.size()); + EXPECT_EQ(3, appts.size()); EXPECT_EQ(appts[0].begin, DateTime(gtz, 2016, 4, 4, 16, 0, 0)); - EXPECT_EQ(appts[1].begin, DateTime(gtz, 2016, 4, 6, 16, 0, 0)); + EXPECT_EQ(appts[1].begin, DateTime(gtz, 2016, 4, 5, 16, 0, 0)); + EXPECT_EQ(appts[2].begin, DateTime(gtz, 2016, 4, 6, 16, 0, 0)); // cleanup g_time_zone_unref(gtz); |