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/test-alarm-queue.cpp | |
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/test-alarm-queue.cpp')
-rw-r--r-- | tests/test-alarm-queue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-alarm-queue.cpp b/tests/test-alarm-queue.cpp index c1f7929..49bd933 100644 --- a/tests/test-alarm-queue.cpp +++ b/tests/test-alarm-queue.cpp @@ -79,7 +79,7 @@ protected: a1.type = Appointment::UBUNTU_ALARM; a1.begin = tomorrow_begin; a1.end = tomorrow_end; - a1.alarms.push_back(Alarm{"Alarm Text", "", a1.begin, (int) Alarm::SOUND}); + a1.alarms.push_back(Alarm{Alarm::SOUND, "Alarm Text", "", a1.begin}); const auto ubermorgen_begin = now.add_days(2).start_of_day(); const auto ubermorgen_end = ubermorgen_begin.end_of_day(); @@ -92,7 +92,7 @@ protected: a2.type = Appointment::EVENT; a2.begin = ubermorgen_begin; a2.end = ubermorgen_end; - a2.alarms.push_back(Alarm{"Alarm Text", "", a2.begin}); + a2.alarms.push_back(Alarm{Alarm::SOUND, "Alarm Text", "", a2.begin}); return std::vector<Appointment>({a1, a2}); } |