From 79053cdc5bf5de140cc8fb8b09edfa909d66872f Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Wed, 8 Apr 2026 21:54:42 +0200 Subject: [PATCH] [fix](trx-frontend-http): add missing context app_data in test_toggle_ft8_decode The toggle_ft8_decode handler requires FrontendRuntimeContext for multi-rig state resolution, but the test did not register it. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Stan Grams --- src/trx-client/trx-frontend/trx-frontend-http/src/api/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/src/api/mod.rs b/src/trx-client/trx-frontend/trx-frontend-http/src/api/mod.rs index 4b1a13c..c6c90b0 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/src/api/mod.rs +++ b/src/trx-client/trx-frontend/trx-frontend-http/src/api/mod.rs @@ -1037,6 +1037,7 @@ mod tests { App::new() .app_data(web::Data::new(state_rx)) .app_data(web::Data::new(rig_tx)) + .app_data(web::Data::new(make_context())) .service(decoder::toggle_ft8_decode), ) .await;