aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-test.cc
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-11-11 18:38:15 -0600
committerTed Gould <ted@gould.cx>2014-11-11 18:38:15 -0600
commit7a4321c81fc4eef57b9759aae9ce47b56797dccd (patch)
treef27ba489e053cf59f88d5e03a4482168276f7d66 /tests/indicator-test.cc
parentbb6126b670654941f717b0b12c5cf94a2ba1b56e (diff)
downloadayatana-indicator-sound-7a4321c81fc4eef57b9759aae9ce47b56797dccd.tar.gz
ayatana-indicator-sound-7a4321c81fc4eef57b9759aae9ce47b56797dccd.tar.bz2
ayatana-indicator-sound-7a4321c81fc4eef57b9759aae9ce47b56797dccd.zip
Handle both a system and session bus
Diffstat (limited to 'tests/indicator-test.cc')
-rw-r--r--tests/indicator-test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/indicator-test.cc b/tests/indicator-test.cc
index 6e3c6de..725a5c8 100644
--- a/tests/indicator-test.cc
+++ b/tests/indicator-test.cc
@@ -33,8 +33,8 @@ protected:
virtual void SetUp() override
{
- auto bustle = buildBustleMock("indicator-test.bustle");
- addMock(bustle);
+ addMock(buildBustleMock("indicator-test-session.bustle", DBUS_TEST_SERVICE_BUS_SESSION));
+ addMock(buildBustleMock("indicator-test-system.bustle", DBUS_TEST_SERVICE_BUS_SYSTEM));
AccountsServiceMock as;
addMock(as);