[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 <noreply@anthropic.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-04-08 21:54:42 +02:00
parent 82e1c19d3a
commit 79053cdc5b
@@ -1037,6 +1037,7 @@ mod tests {
App::new() App::new()
.app_data(web::Data::new(state_rx)) .app_data(web::Data::new(state_rx))
.app_data(web::Data::new(rig_tx)) .app_data(web::Data::new(rig_tx))
.app_data(web::Data::new(make_context()))
.service(decoder::toggle_ft8_decode), .service(decoder::toggle_ft8_decode),
) )
.await; .await;