Move duplicate-destination fixtures into their final test run

This commit is contained in:
overtrue
2026-12-01 12:03:08 +08:00
parent 1584b0e767
commit 009cd1bb0f
@@ -5605,7 +5605,7 @@ mod tests {
endpoint: first.endpoint.clone(),
..old.clone()
};
for mut targets in [vec![first.clone(), old.clone()], vec![old.clone(), first.clone()]] {
for mut targets in [vec![first.clone(), old.clone()], vec![old, first]] {
let before = serde_json::to_vec(&targets).unwrap();
assert!(matches!(
BucketTargetSys::upsert_target_entry(&mut targets, &edit, true),