aboutsummaryrefslogtreecommitdiff
path: root/tests/notifications-test.cc
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-10-22 10:13:11 +0200
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-10-22 10:13:11 +0200
commit7227248fb068f1f6d1b69f9069651051be36aa8f (patch)
tree655fada7ed159d5dc3034e9e5389920617da72c8 /tests/notifications-test.cc
parent4dbdcf30a0ed10019d3350293c4ac52040393640 (diff)
downloadayatana-indicator-sound-7227248fb068f1f6d1b69f9069651051be36aa8f.tar.gz
ayatana-indicator-sound-7227248fb068f1f6d1b69f9069651051be36aa8f.tar.bz2
ayatana-indicator-sound-7227248fb068f1f6d1b69f9069651051be36aa8f.zip
Removed warning label in volume notification
Diffstat (limited to 'tests/notifications-test.cc')
-rw-r--r--tests/notifications-test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/notifications-test.cc b/tests/notifications-test.cc
index a096bb8..c5d9770 100644
--- a/tests/notifications-test.cc
+++ b/tests/notifications-test.cc
@@ -356,7 +356,7 @@ TEST_F(NotificationsTest, HighVolume) {
notev = notifications->getNotifications();
ASSERT_LT(0, notev.size()); /* This passes with one or two since it would just be an update to the first if a second was sent */
EXPECT_EQ("Volume", notev[0].summary);
- EXPECT_EQ("High volume can damage your hearing.", notev[0].body);
+ EXPECT_EQ("Speakers", notev[0].body);
EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-value-bar-tint"]);
/* Move it back */
@@ -372,7 +372,7 @@ TEST_F(NotificationsTest, HighVolume) {
notev = notifications->getNotifications();
ASSERT_EQ(1, notev.size());
EXPECT_EQ("Volume", notev[0].summary);
- EXPECT_EQ("High volume can damage your hearing.", notev[0].body);
+ EXPECT_EQ("Speakers", notev[0].body);
EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-value-bar-tint"]);
}