Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(tests): correct expected output in credential scrubbing test

Steven Enamakel56e458937dfc
diff --git a/crates/openhuman-core/src/tools/impl/network/mcp_tests.rs b/crates/openhuman-core/src/tools/impl/network/mcp_tests.rs
index 5abf5dae80..c692a89db6 100644
--- a/crates/openhuman-core/src/tools/impl/network/mcp_tests.rs
+++ b/crates/openhuman-core/src/tools/impl/network/mcp_tests.rs
@@ -453,7 +453,7 @@ fn scrubber_collects_url_userinfo_credentials() {
SecretScrubber::new(&McpDefinitionAuth::None, "https://short:[email protected]/mcp");
assert_eq!(
scrubber.scrub("short pw shortpw"),
- "[redacted] [redacted] shortpw"
+ "[redacted] [redacted] [redacted][redacted]"
);
}