Skip to content

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

test(user_agents): update surface visibility assertions to pass scope

Steven Enamakel305591f24a8b
diff --git a/crates/openhuman-core/src/user_agents/surface_tests.rs b/crates/openhuman-core/src/user_agents/surface_tests.rs
index 816c59b052..f35ac4b7ee 100644
--- a/crates/openhuman-core/src/user_agents/surface_tests.rs
+++ b/crates/openhuman-core/src/user_agents/surface_tests.rs
@@ -43,10 +43,15 @@ fn the_saas_planes_never_overlap() {
#[test]
fn chat_is_open_but_other_channel_methods_are_not() {
- assert!(visible_in(true, true, "openhuman.channel_web_chat", false));
assert!(visible_in(
true,
+ Scope::User,
+ "openhuman.channel_web_chat",
+ false
+ ));
+ assert!(visible_in(
true,
+ Scope::User,
"openhuman.threads_regenerate",
false
));