diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-09-09 13:51:36 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-09-09 13:51:36 +0200 |
commit | ff70460acbf19702464fcf22dc4c21fc20665d0e (patch) | |
tree | b72c36d0a279e44b6deeebda91ebebe5ce5ec94e /tests/notifications-mock.h | |
parent | 38dc2dd6af7a7bca030e18783a3b9f84c642e6e6 (diff) | |
parent | cf943b8c9564a0cc8d215a7bc76a147bdd027aaf (diff) | |
download | ayatana-indicator-sound-ff70460acbf19702464fcf22dc4c21fc20665d0e.tar.gz ayatana-indicator-sound-ff70460acbf19702464fcf22dc4c21fc20665d0e.tar.bz2 ayatana-indicator-sound-ff70460acbf19702464fcf22dc4c21fc20665d0e.zip |
Merge branch 'tari01-pr/fix-notification'
Attributes GH PR #92: https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/92
Diffstat (limited to 'tests/notifications-mock.h')
-rw-r--r-- | tests/notifications-mock.h | 4 |
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"); |