mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
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:
parent
abae9a4851
commit
6b833bc2f1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user