aboutsummaryrefslogtreecommitdiff
path: root/tests/test-snap.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-04-05 17:27:52 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-04-05 17:27:52 -0500
commit62d68e6453c0ad69ff4d71099441a8151e9a9bea (patch)
tree0ff1e3826ac919027bf3943a9ba1e7a4921c5f07 /tests/test-snap.cpp
parente1aba742725c76257bd6845c93d3ac9a14d32089 (diff)
downloadayatana-indicator-datetime-62d68e6453c0ad69ff4d71099441a8151e9a9bea.tar.gz
ayatana-indicator-datetime-62d68e6453c0ad69ff4d71099441a8151e9a9bea.tar.bz2
ayatana-indicator-datetime-62d68e6453c0ad69ff4d71099441a8151e9a9bea.zip
fix misuse of ECalComponentAlarmInstance's fields.
Diffstat (limited to 'tests/test-snap.cpp')
-rw-r--r--tests/test-snap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-snap.cpp b/tests/test-snap.cpp
index 2e29132..46fbd10 100644
--- a/tests/test-snap.cpp
+++ b/tests/test-snap.cpp
@@ -111,7 +111,7 @@ protected:
const auto christmas = DateTime::Local(2015,12,25,0,0,0);
appt.begin = christmas.start_of_day();
appt.end = christmas.end_of_day();
- appt.alarms.push_back(Alarm{"Alarm Text", "", appt.begin, std::chrono::seconds::zero()});
+ appt.alarms.push_back(Alarm{"Alarm Text", "", appt.begin});
service = dbus_test_service_new(nullptr);