Skip to content

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

test(composio): add file store document tests

Steven Enamakelf3749ddd6f5d
diff --git a/crates/openhuman-core/src/integrations/composio/file_store_documents_tests.rs b/crates/openhuman-core/src/integrations/composio/file_store_documents_tests.rs
index 06ec171a9a..7c427de65e 100644
--- a/crates/openhuman-core/src/integrations/composio/file_store_documents_tests.rs
+++ b/crates/openhuman-core/src/integrations/composio/file_store_documents_tests.rs
@@ -54,11 +54,11 @@ async fn the_file_store_dispatches_to_documents_when_a_backend_is_pinned() {
value.insert("gmail".to_string(), 7u32);
// Pin on this thread for the awaits below (a current-thread runtime).
super::TEST_OVERRIDE.with(|slot| *slot.borrow_mut() = Some(docs.clone()));
- super::super::file_store::save(&crate::core::runtime::DispatchCtx::ambient(), &crate::core::runtime::DispatchCtx::ambient(), &config, "composio_identities.json", &value)
+ super::super::file_store::save(&crate::core::runtime::DispatchCtx::ambient(), &config, "composio_identities.json", &value)
.await
.unwrap();
let loaded: BTreeMap<String, u32> =
- super::super::file_store::load(&crate::core::runtime::DispatchCtx::ambient(), &crate::core::runtime::DispatchCtx::ambient(), &config, "composio_identities.json")
+ super::super::file_store::load(&crate::core::runtime::DispatchCtx::ambient(), &config, "composio_identities.json")
.await
.unwrap();
super::TEST_OVERRIDE.with(|slot| *slot.borrow_mut() = None);