mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Align printer menu regression with the merged system-printer cache
This commit is contained in:
1 parent
6c1a3590f5
commit
a9ac922fc1
1 file changed
+2
-1
@@ -1445,7 +1445,8 @@ mod tests {
|
||||
let (mut app, ctx) = app();
|
||||
let id = crate::menus::invoke(&mut app, &ctx, "file.print", json!({})).unwrap()["dialog"].as_u64().unwrap();
|
||||
let f = &app.ui.dialog_mut(id).unwrap().fields;
|
||||
assert!(f.get("__printers").is_some_and(Value::is_array));
|
||||
assert!(f.get("__systemPrinters").is_some_and(Value::is_array));
|
||||
assert!(params(f).get("__systemPrinters").is_none());
|
||||
assert!(params(f).get("__printers").is_none());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user