- The old 12-hour clock migration test now asserts the saved panel is version 3, not 2. - The panel format version is bumped, so the test must match it.
This commit is contained in:
1 parent
c790f96e58
commit
5e62f1b8cb
1 file changed
+1
-1
@@ -554,7 +554,7 @@ test "a panel saved with the old 12-hour clock gets the Digital Clock with the s
|
||||
assert_true(panel.contains("\"clock-digital\"") && !panel.contains("clock-digital12"))
|
||||
// The old Log out button became the launcher, which has Log out now.
|
||||
assert_true(panel.contains("\"launcher\"") && !panel.contains("logout"))
|
||||
assert_true(panel.contains(":version 2"))
|
||||
assert_true(panel.contains(":version 3"))
|
||||
// Only once: a format chosen afterwards sticks across restarts.
|
||||
a.set_module_setting(a.slot_of("clock-digital"), "format", "24-hour")
|
||||
assert_eq(boot().module_setting("clock-digital", "format"), Some("24-hour"))
|
||||
|
||||
Reference in new issue
Block a user