commit a90eb525b0b474b34b7a7fc5da6dd75985e19b08
parent 425661f7c3c7154a3d79ba0d47dc532351f86004
Author: triesap <tyson@radroots.org>
Date: Mon, 20 Apr 2026 15:17:33 +0000
tests: fix final validation blockers
- remove stale fulfillment window fields from the state fixture
- drop the sidebar-only unreachable message that violated the copy guard
- rerun cargo metadata --format-version 1 --no-deps and cargo test successfully
- keep the final validation slice scoped to mounted-app correctness only
Diffstat:
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/crates/launchers/desktop/src/window.rs b/crates/launchers/desktop/src/window.rs
@@ -5323,7 +5323,7 @@ fn home_sidebar(
)
.into_any_element()
}
- FarmerSection::Farm => unreachable!("farm is not a sidebar destination"),
+ FarmerSection::Farm => unreachable!(),
};
navigation_elements.push(element);
}
diff --git a/crates/shared/state/src/lib.rs b/crates/shared/state/src/lib.rs
@@ -1476,11 +1476,8 @@ mod tests {
fulfillment_window: Some(radroots_app_models::FulfillmentWindowSummary {
fulfillment_window_id,
farm_id,
- pickup_location_id: None,
- label: "Friday pickup".to_owned(),
starts_at: "2026-04-18T16:00:00Z".to_owned(),
ends_at: "2026-04-18T18:00:00Z".to_owned(),
- order_cutoff_at: "2026-04-17T18:00:00Z".to_owned(),
}),
totals_by_product: vec![PackDayProductTotalRow {
title: "Salad mix".to_owned(),