[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user