aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/test-indicator.cpp
diff options
context:
space:
mode:
authorXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-10-22 10:55:13 +0200
committerXavi Garcia Mena <xavi.garcia.mena@canonical.com>2015-10-22 10:55:13 +0200
commit3460b9c8d18a52bb859f143f0428e0325d699a3f (patch)
tree424222e6b8d51965049eac83c6c38fd328a7dcc8 /tests/integration/test-indicator.cpp
parent5a294ce7bba694a5cd61246c0e46febeb9b30339 (diff)
downloadayatana-indicator-sound-3460b9c8d18a52bb859f143f0428e0325d699a3f.tar.gz
ayatana-indicator-sound-3460b9c8d18a52bb859f143f0428e0325d699a3f.tar.bz2
ayatana-indicator-sound-3460b9c8d18a52bb859f143f0428e0325d699a3f.zip
Update unit test
Diffstat (limited to 'tests/integration/test-indicator.cpp')
-rw-r--r--tests/integration/test-indicator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/test-indicator.cpp b/tests/integration/test-indicator.cpp
index 86d73b1..3cc24e8 100644
--- a/tests/integration/test-indicator.cpp
+++ b/tests/integration/test-indicator.cpp
@@ -56,7 +56,7 @@ TEST_F(TestIndicator, PhoneChangeRoleVolume)
// set an initial volume to the alert role
userAccountsSpy.clear();
setStreamRestoreVolume("alert", 1.0);
- WAIT_FOR_SIGNALS(userAccountsSpy, 2);
+ WAIT_AT_LEAST_SIGNALS(userAccountsSpy, 1);
userAccountsSpy.clear();
// play a test sound, it should change the role in the indicator