aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-03-19 10:48:12 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-03-19 10:48:12 -0500
commite5f30358325683fe338137fc0cc71541e73c81be (patch)
tree8f46633625a6aa515fe3749d8583478d95d48f1f
parent9af35685d7fb590ca4c43131cc129632ec8e6f98 (diff)
downloadayatana-indicator-session-e5f30358325683fe338137fc0cc71541e73c81be.tar.gz
ayatana-indicator-session-e5f30358325683fe338137fc0cc71541e73c81be.tar.bz2
ayatana-indicator-session-e5f30358325683fe338137fc0cc71541e73c81be.zip
sync tests to the red-icon-removal change in r436
-rw-r--r--tests/test-service.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/test-service.cc b/tests/test-service.cc
index f14fe61..0815d19 100644
--- a/tests/test-service.cc
+++ b/tests/test-service.cc
@@ -616,7 +616,7 @@ TEST_F (ServiceTest, OnlineAccountError)
check_last_command_is ("online-accounts");
// check that the header's icon and a11y adjusted to the error state
- check_header ("", "system-devices-panel-alert", "System (Attention Required)");
+ check_header ("", "system-devices-panel", "System");
// cleanup
g_settings_reset (mock_settings, error_key);
@@ -756,12 +756,7 @@ TEST_F (ServiceTest, User)
g_settings_set_boolean (indicator_settings, show_name_key, true);
wait_for_signal (action_group, "action-state-changed");
check_header ("Third Doctor", "system-devices-panel", "System, Third Doctor");
- g_settings_set_boolean (mock_settings, error_key, true);
- wait_for_signal (action_group, "action-state-changed");
- check_header ("Third Doctor", "system-devices-panel-alert", "System, Third Doctor (Attention Required)");
- g_settings_reset (mock_settings, error_key);
g_settings_reset (indicator_settings, show_name_key);
- wait_for_menu_resync ();
// try setting the max user count to 2...
// since troughton has the fewest logins, he should get culled