aboutsummaryrefslogtreecommitdiff
path: root/tests/notifications-mock.h
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-09-09 08:27:33 +0200
committerRobert Tari <robert@tari.in>2023-09-09 08:27:33 +0200
commitcf943b8c9564a0cc8d215a7bc76a147bdd027aaf (patch)
treeb72c36d0a279e44b6deeebda91ebebe5ce5ec94e /tests/notifications-mock.h
parent8dbb8ab50726131dd97ee87438559da6c46f3fab (diff)
downloadayatana-indicator-sound-cf943b8c9564a0cc8d215a7bc76a147bdd027aaf.tar.gz
ayatana-indicator-sound-cf943b8c9564a0cc8d215a7bc76a147bdd027aaf.tar.bz2
ayatana-indicator-sound-cf943b8c9564a0cc8d215a7bc76a147bdd027aaf.zip
Drop custom notification hints
Diffstat (limited to 'tests/notifications-mock.h')
-rw-r--r--tests/notifications-mock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/notifications-mock.h b/tests/notifications-mock.h
index ad042d2..3ae8da5 100644
--- a/tests/notifications-mock.h
+++ b/tests/notifications-mock.h
@@ -1,6 +1,6 @@
/*
* Copyright 2015 Canonical Ltd.
- * Copyright 2021 Robert Tari
+ * Copyright 2021-2023 Robert Tari
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@ class NotificationsMock
DbusTestDbusMockObject * baseobj = nullptr;
public:
- NotificationsMock (const std::vector<std::string>& capabilities = {"actions", "body", "body-markup", "icon-static", "image/svg+xml", "x-lomiri-private-synchronous", "x-canonical-append", "x-lomiri-private-icon-only", "x-lomiri-truncation", "x-canonical-truncation", "private-synchronous", "append", "private-icon-only", "truncation"}) {
+ NotificationsMock (const std::vector<std::string>& capabilities = {"actions", "body", "body-markup", "icon-static", "image/svg+xml", "private-synchronous", "append", "private-icon-only", "truncation"}) {
mock = dbus_test_dbus_mock_new("org.freedesktop.Notifications");
dbus_test_task_set_bus(DBUS_TEST_TASK(mock), DBUS_TEST_SERVICE_BUS_SESSION);
dbus_test_task_set_name(DBUS_TEST_TASK(mock), "Notify");