From a597c8c05070014162602733fb718b94d6eef9cc Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 2 Dec 2017 20:40:06 +0100 Subject: tests/: Fix indicator executable name. --- tests/notifications-test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/notifications-test.cc') diff --git a/tests/notifications-test.cc b/tests/notifications-test.cc index 6dbbe0c..6a99a8d 100644 --- a/tests/notifications-test.cc +++ b/tests/notifications-test.cc @@ -74,7 +74,7 @@ class NotificationsTest : public ::testing::Test g_object_add_weak_pointer(G_OBJECT(session), (gpointer *)&session); /* This is done in main.c */ - notify_init("indicator-sound"); + notify_init("ayatana-indicator-sound"); } virtual void TearDown() { @@ -253,7 +253,7 @@ TEST_F(NotificationsTest, VolumeChanges) { loop(50); auto notev = notifications->getNotifications(); ASSERT_EQ(1, notev.size()); - EXPECT_EQ("indicator-sound", notev[0].app_name); + EXPECT_EQ("ayatana-indicator-sound", notev[0].app_name); EXPECT_EQ("Volume", notev[0].summary); EXPECT_EQ(0, notev[0].actions.size()); EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-private-synchronous"]); @@ -501,7 +501,7 @@ TEST_F(NotificationsTest, ExtendendVolumeNotification) { loop(50); auto notev = notifications->getNotifications(); ASSERT_EQ(1, notev.size()); - EXPECT_EQ("indicator-sound", notev[0].app_name); + EXPECT_EQ("ayatana-indicator-sound", notev[0].app_name); EXPECT_EQ("Volume", notev[0].summary); EXPECT_EQ(0, notev[0].actions.size()); EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-private-synchronous"]); -- cgit v1.2.3