Skip to content

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

test(user_agents): gate channel thread test behind channels feature

Steven Enamakelfc090a64b03d
diff --git a/crates/openhuman-core/src/user_agents/surface_tests.rs b/crates/openhuman-core/src/user_agents/surface_tests.rs
index d105dc5b69..4fe3fed194 100644
--- a/crates/openhuman-core/src/user_agents/surface_tests.rs
+++ b/crates/openhuman-core/src/user_agents/surface_tests.rs
@@ -138,6 +138,7 @@ fn delete_purge_and_the_channel_relay_are_open_to_users() {
}
}
+#[cfg(feature = "channels")]
#[test]
fn users_still_cannot_mint_channel_threads() {
// The relay derives `channel:` ids itself; a user choosing one is refused.