aboutsummaryrefslogtreecommitdiff
path: root/tests/test-notification.cpp
diff options
context:
space:
mode:
authorArthur Mello <arthur.mello@canonical.com>2016-06-23 16:04:50 -0300
committerRobert Tari <robert@tari.in>2021-07-08 00:23:13 +0200
commit033735a671e29307271f0a900b8b10090f28f153 (patch)
tree8ee03a975028e2dbf41d1e813b39c62d97ab24c1 /tests/test-notification.cpp
parent9c7c869ae51fffe7ce560faf0d3d2cecf5743563 (diff)
downloadayatana-indicator-datetime-033735a671e29307271f0a900b8b10090f28f153.tar.gz
ayatana-indicator-datetime-033735a671e29307271f0a900b8b10090f28f153.tar.bz2
ayatana-indicator-datetime-033735a671e29307271f0a900b8b10090f28f153.zip
Set calendar notification settings to true in case GSettings schema is not available Make sure calendar notification settings are correct during tests
Diffstat (limited to 'tests/test-notification.cpp')
-rw-r--r--tests/test-notification.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-notification.cpp b/tests/test-notification.cpp
index b84c6f8..58c0760 100644
--- a/tests/test-notification.cpp
+++ b/tests/test-notification.cpp
@@ -119,6 +119,10 @@ TEST_F(NotificationFixture,Notification)
// set test case properties: cal_notification_enabled
settings->cal_notification_enabled.set(test_disabled.cal_notification_enabled);
+ settings->cal_notification_sounds.set(test_disabled.cal_notification_enabled);
+ settings->cal_notification_vibrations.set(test_disabled.cal_notification_enabled);
+ settings->cal_notification_bubbles.set(test_disabled.cal_notification_enabled);
+ settings->cal_notification_list.set(test_disabled.cal_notification_enabled);
// set test case properties: haptic mode
settings->alarm_haptic.set(test_haptic.haptic_mode);