aboutsummaryrefslogtreecommitdiff
path: root/tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h')
-rw-r--r--tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h b/tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h
index a000c4e..6a53962 100644
--- a/tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h
+++ b/tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h
@@ -28,7 +28,11 @@ namespace testing
constexpr const char MEDIA_PLAYER_MPRIS_SERVICE[] = "org.freedesktop.Accounts";
constexpr const char USER_PATH[] = "/org/freedesktop/Accounts/UserTest";
constexpr const char ACCOUNTS_PATH[] = "/org/freedesktop/Accounts";
+#ifdef HAS_UT_ACCTSERVICE_SOUND_SETTINGS
+ constexpr const char ACCOUNTS_SOUND_INTERFACE[] = "com.canonical.AccountsService.Sound";
+#else
constexpr const char ACCOUNTS_SOUND_INTERFACE[] = "org.ayatana.AccountsService.Sound";
+#endif
} // namespace testing
} // namespace indicators