Skip to content

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

test(composio): use constructor in trigger subscriber test

Steven Enamakel5cd6d9d1e7df
diff --git a/crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber_tests.rs b/crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber_tests.rs
index 17c6bbf7a5..545f3f4e2c 100644
--- a/crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber_tests.rs
+++ b/crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber_tests.rs
@@ -127,7 +127,7 @@ async fn the_direct_path_logs_and_drops_a_deferral_and_a_terminal_outcome() {
#[test]
fn the_subscriber_names_itself_and_listens_to_composio() {
- let subscriber = ComposioTriggerSubscriber::default();
+ let subscriber = ComposioTriggerSubscriber::new();
assert_eq!(subscriber.name(), "composio::trigger");
assert_eq!(subscriber.domains(), Some(&["composio"][..]));
}