test: find the mcp preprocessor probe tool by its new name (#11833)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ruben Fiszel
2026-10-16 21:57:37 +02:00
committed by GitHub
co-authored by Claude Opus 5.5
parent de340eed6f
commit e0138a7374
@@ -127,7 +127,7 @@ async fn test_mcp_preprocessor_receives_the_callers_headers(
.and_then(|list| {
list.iter()
.filter_map(|t| t["name"].as_str())
.find(|n| n.contains("mcp__hdr__probe"))
.find(|n| *n == "mcp_hdr_probe")
})
.ok_or_else(|| anyhow::anyhow!("the deployed script was not listed as a tool: {tools}"))?
.to_string();