mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-28 00:02:42 +00:00
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:
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();
|
||||
|
||||
Reference in New Issue
Block a user