The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(test): update test to use POST and admin route for route policy check
Steven Enamakele2bc46512632
diff --git a/crates/openhuman-tinyhumans/src/transport/transport_tests.rs b/crates/openhuman-tinyhumans/src/transport/transport_tests.rsindex 8bcfeea2ad..990ef2e01a 100644--- a/crates/openhuman-tinyhumans/src/transport/transport_tests.rs+++ b/crates/openhuman-tinyhumans/src/transport/transport_tests.rs@@ -167,14 +167,14 @@ async fn sdk_route_policy_refuses_unexposed_routes_before_sending() {let err = transport.send_json(request(&server.uri(),- reqwest::Method::GET,- "/webhooks/core",+ reqwest::Method::POST,+ "/admin/coupons",None,true,)).await.unwrap_err();- assert!(matches!(err, BackendTransportError::RouteNotExposed(m, p) if m == "GET" && p.contains("webhooks")));+ assert!(matches!(err, BackendTransportError::RouteNotExposed(m, p) if m == "POST" && p.contains("admin")));assert!(server.received_requests().await.unwrap().is_empty());}