aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-09 16:35:05 -0600
committerTed Gould <ted@gould.cx>2015-02-09 16:35:05 -0600
commit043af330ce48ea89d820e50c1f915ac9a9b278c6 (patch)
treeaebf63cde3efe8cb7e7998e87505bddaf4b5eb32 /tests
parent99ccf6fa240695e7b5f22bcc2637d5f72c96d241 (diff)
downloadayatana-indicator-sound-043af330ce48ea89d820e50c1f915ac9a9b278c6.tar.gz
ayatana-indicator-sound-043af330ce48ea89d820e50c1f915ac9a9b278c6.tar.bz2
ayatana-indicator-sound-043af330ce48ea89d820e50c1f915ac9a9b278c6.zip
Make it so that the accounts service object is made outside of the service object
Diffstat (limited to 'tests')
-rw-r--r--tests/notifications-test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/notifications-test.cc b/tests/notifications-test.cc
index 6e531fd..c738027 100644
--- a/tests/notifications-test.cc
+++ b/tests/notifications-test.cc
@@ -91,7 +91,7 @@ class NotificationsTest : public ::testing::Test
TEST_F(NotificationsTest, BasicObject) {
auto playerList = std::shared_ptr<MediaPlayerList>(MEDIA_PLAYER_LIST(media_player_list_mock_new()), [](MediaPlayerList * list){g_clear_object(&list);});
auto volumeControl = std::shared_ptr<VolumeControl>(VOLUME_CONTROL(volume_control_mock_new()), [](VolumeControl * control){g_clear_object(&control);});
- auto soundService = std::shared_ptr<IndicatorSoundService>(indicator_sound_service_new(playerList.get(), volumeControl.get()), [](IndicatorSoundService * service){g_clear_object(&service);});
+ auto soundService = std::shared_ptr<IndicatorSoundService>(indicator_sound_service_new(playerList.get(), volumeControl.get(), nullptr), [](IndicatorSoundService * service){g_clear_object(&service);});
/* Give some time settle */
loop(50);