Integration: #2280 drop a clone of the Copy crop in its test

This commit is contained in:
aiongg
2026-10-21 15:04:38 +00:00
parent 21903294bf
commit 22ae8bc9a8
+1 -1
View File
@@ -72,7 +72,7 @@ fn orientation_overrides_and_is_checked() {
#[test]
fn a_bad_orientation_is_refused_before_anything_is_locked() {
let mut s = landscape_photo();
let before = s.develop_of(s.selection.active.unwrap()).unwrap().crop.clone();
let before = s.develop_of(s.selection.active.unwrap()).unwrap().crop;
for aspect in [json!("current"), json!("toggle"), json!("2x3"), json!([2, 3]), json!("free")] {
for orientation in [json!("sideways"), json!(1), json!(true), json!(null)] {
let e = s.execute("crop.aspect", &json!({"aspect": aspect, "orientation": orientation})).unwrap_err();