Commit 77be1d60 authored by Florian Müllner's avatar Florian Müllner Committed by Michael Catanzaro

tests: Guard against default changes

The wall-clock weekday test assumes that only the time is shown when
the weekday setting is disabled. This is only true while the clock
doesn't include the date by default, which is may happen as proposed
in gsettings-desktop-schemas!2. But even if the default isn't changed
it is still safer to spell out the assumptions, so explicitly disable
the date.

parent 92ca7ece
Pipeline #28940 passed with stage
in 3 minutes and 43 seconds
......@@ -196,6 +196,7 @@ test_weekday_setting (void)
g_settings_set_enum (settings, "clock-format", G_DESKTOP_CLOCK_FORMAT_24H);
g_settings_set_boolean (settings, "clock-show-weekday", FALSE);
g_settings_set_boolean (settings, "clock-show-date", FALSE);
clock = gnome_wall_clock_new ();
str = gnome_wall_clock_get_clock (clock);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment