diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2016-03-31 10:55:01 -0300 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-05 00:44:12 +0200 |
commit | 6874753bfba638ab819bfa92ad8cd7a878ae7701 (patch) | |
tree | de4e5d496f56811ce4e38f57a74e46d62a641c4a /tests/notification-fixture.h | |
parent | 0b5b8b3d31eaff2302c2fd3eb11e68be96f1d219 (diff) | |
download | ayatana-indicator-datetime-6874753bfba638ab819bfa92ad8cd7a878ae7701.tar.gz ayatana-indicator-datetime-6874753bfba638ab819bfa92ad8cd7a878ae7701.tar.bz2 ayatana-indicator-datetime-6874753bfba638ab819bfa92ad8cd7a878ae7701.zip |
Update tests.
Diffstat (limited to 'tests/notification-fixture.h')
-rw-r--r-- | tests/notification-fixture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/notification-fixture.h b/tests/notification-fixture.h index a2f1179..40f7cee 100644 --- a/tests/notification-fixture.h +++ b/tests/notification-fixture.h @@ -111,7 +111,7 @@ protected: const auto christmas = ayatana::indicator::datetime::DateTime::Local(2015,12,25,0,0,0); appt.begin = christmas.start_of_day(); appt.end = christmas.end_of_day(); - appt.alarms.push_back(ayatana::indicator::datetime::Alarm{"Ho Ho Ho!", "", appt.begin, ayatana::indicator::datetime::Alarm::SOUND }); + appt.alarms.push_back(ayatana::indicator::datetime::Alarm{ayatana::indicator::datetime::Alarm::SOUND, "Ho Ho Ho!", "", appt.begin }); // init a Lomiri Alarm ualarm.color = "red"; @@ -121,7 +121,7 @@ protected: const auto tomorrow = ayatana::indicator::datetime::DateTime::NowLocal().add_days(1); ualarm.begin = tomorrow; ualarm.end = tomorrow; - ualarm.alarms.push_back(ayatana::indicator::datetime::Alarm{"It's Tomorrow!", "", appt.begin}); + ualarm.alarms.push_back(ayatana::indicator::datetime::Alarm{ayatana::indicator::datetime::Alarm::SOUND, "It's Tomorrow!", "", appt.begin}); /// /// Add the AccountsService mock |