diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-12-07 20:38:44 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-12-07 20:38:44 -0600 |
commit | 95bc85d108e3564d98f26b7ad17fcc72b2966371 (patch) | |
tree | ad0d9724caab0b7badf49cd668ff22fce342b4ae /tests/test-alarm-queue.cpp | |
parent | 56e88207113e57eae7b24a718fa1ab177c6c9367 (diff) | |
download | ayatana-indicator-datetime-95bc85d108e3564d98f26b7ad17fcc72b2966371.tar.gz ayatana-indicator-datetime-95bc85d108e3564d98f26b7ad17fcc72b2966371.tar.bz2 ayatana-indicator-datetime-95bc85d108e3564d98f26b7ad17fcc72b2966371.zip |
ensure that disabled alarms aren't shown in indicator-datetime and that notifications aren't shown for them.
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 d2de8ac..12ffe92 100644 --- a/tests/test-alarm-queue.cpp +++ b/tests/test-alarm-queue.cpp @@ -80,7 +80,7 @@ protected: a1.summary = "Alarm"; a1.summary = "http://www.example.com/"; a1.uid = "example"; - a1.has_alarms = true; + a1.type = Appointment::UBUNTU_ALARM; a1.begin = tomorrow_begin; a1.end = tomorrow_end; @@ -92,7 +92,7 @@ protected: a2.summary = "Other Text"; a2.summary = "http://www.monkey.com/"; a2.uid = "monkey"; - a2.has_alarms = false; + a1.type = Appointment::EVENT; a2.begin = ubermorgen_begin; a2.end = ubermorgen_end; |