tests: fix gnotification tests broken due to the recent icon name fallback changes

In !72 themed icons were changed to fall back to the symbolic variant.
The gnotification tests were still testing for the old list of names.
This commit is contained in:
Christoph Reiter 2018-08-19 20:04:41 +02:00
parent abae9a4851
commit 6b833bc2f1

View File

@ -219,7 +219,8 @@ test_properties (void)
g_assert (G_IS_THEMED_ICON (rn->icon));
names = g_themed_icon_get_names (G_THEMED_ICON (rn->icon));
g_assert_cmpstr (names[0], ==, "i-c-o-n");
g_assert (names[1] == NULL);
g_assert_cmpstr (names[1], ==, "i-c-o-n-symbolic");
g_assert_null (names[2]);
g_assert (rn->priority == G_NOTIFICATION_PRIORITY_HIGH);
g_assert_cmpint (rn->buttons->len, ==, 1);