Skip to content

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

fix(transport): correct mock 404 body to match expected error message

Steven Enamakel74ba713b6d31
diff --git a/crates/openhuman-tinyhumans/src/transport/transport_tests.rs b/crates/openhuman-tinyhumans/src/transport/transport_tests.rs
index f40c4ecb47..02553b11df 100644
--- a/crates/openhuman-tinyhumans/src/transport/transport_tests.rs
+++ b/crates/openhuman-tinyhumans/src/transport/transport_tests.rs
@@ -335,7 +335,7 @@ async fn core_channel_routes_recover_from_the_transports_typed_404s() {
let server = MockServer::start().await;
Mock::given(method("PATCH"))
.and(path("/channels/telegram/messages/1103"))
- .respond_with(ResponseTemplate::new(404).set_body_string("Cannot PATCH"))
+ .respond_with(ResponseTemplate::new(404).set_body_string("Cannot PATCH /channels/telegram/messages/1103"))
.mount(&server)
.await;
Mock::given(method("DELETE"))