aboutsummaryrefslogtreecommitdiff
path: root/tests/test-notification.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-18 14:43:06 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-18 14:43:06 +0100
commitb3e4cbdde1444b134d8b2729f3abcee405ca1241 (patch)
tree3bc2775ba0106e6c39bc8a129d6789d00c3bf841 /tests/test-notification.cpp
parentdc16358bcceeb687df7f0a37fdcd3593844dcc7e (diff)
parentea5f8163231a81e4f0769a518db819c8a1fc78f6 (diff)
downloadayatana-indicator-datetime-b3e4cbdde1444b134d8b2729f3abcee405ca1241.tar.gz
ayatana-indicator-datetime-b3e4cbdde1444b134d8b2729f3abcee405ca1241.tar.bz2
ayatana-indicator-datetime-b3e4cbdde1444b134d8b2729f3abcee405ca1241.zip
Merge branch 'tari01-pr/enable-hfd-service-haptic'
Attributes GH PR #78: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/78
Diffstat (limited to 'tests/test-notification.cpp')
-rw-r--r--tests/test-notification.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-notification.cpp b/tests/test-notification.cpp
index 80eb04c..7dccb96 100644
--- a/tests/test-notification.cpp
+++ b/tests/test-notification.cpp
@@ -158,9 +158,9 @@ TEST_F(NotificationFixture,Notification)
// confirm that the vibration was as expected
if (expected_vibrate_called) {
- EXPECT_METHOD_CALLED_EVENTUALLY(haptic_mock, haptic_obj, HAPTIC_METHOD_VIBRATE_PATTERN);
+ EXPECT_METHOD_CALLED_EVENTUALLY(haptic_mock, haptic_obj, HAPTIC_METHOD_VIBRATE);
} else {
- EXPECT_METHOD_NOT_CALLED_EVENTUALLY(haptic_mock, haptic_obj, HAPTIC_METHOD_VIBRATE_PATTERN);
+ EXPECT_METHOD_NOT_CALLED_EVENTUALLY(haptic_mock, haptic_obj, HAPTIC_METHOD_VIBRATE);
}
// confirm that the notification was as expected