Skip to content

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

test(runtime): drop redundant saas assertion from dispatch ctx test

Steven Enamakelf92c3d00bfb9
diff --git a/crates/openhuman-core/src/core/runtime/dispatch_ctx_tests.rs b/crates/openhuman-core/src/core/runtime/dispatch_ctx_tests.rs
index 213df56aa9..1d98fc9ddf 100644
--- a/crates/openhuman-core/src/core/runtime/dispatch_ctx_tests.rs
+++ b/crates/openhuman-core/src/core/runtime/dispatch_ctx_tests.rs
@@ -113,7 +113,6 @@ async fn host_default_in_saas_is_unbound_even_inside_a_tenants_scope() {
// The task's scope is a tenant's; work that arrives without its own
// tenant must not inherit it, and must not become the operator.
assert!(DispatchCtx::host_default_in(true).core().is_none());
- assert!(DispatchCtx::host_default_in(true).resolved().is_none() || !crate::core::runtime::is_saas());
let spawned = tokio::spawn(async { DispatchCtx::host_default_in(true) })
.await
.unwrap();