Skip to content

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

test(composio): drop stray await on kv get in legacy state migration test

Steven Enamakele512e00e381c
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 4bb78afb56..900272d183 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
@@ -198,11 +198,11 @@ async fn v1_state_documents_move_into_kv_without_replacing_a_newer_value() {
assert_eq!(migrate_legacy_state(&scoped).await.unwrap(), 1);
assert_eq!(
- kv.get::<serde_json::Value>("a.json").await.unwrap(),
+ kv.get::<serde_json::Value>("a.json").unwrap(),
Some(serde_json::json!({ "n": 1 }))
);
assert_eq!(
- kv.get::<serde_json::Value>("b.json").await.unwrap(),
+ kv.get::<serde_json::Value>("b.json").unwrap(),
Some(serde_json::json!({ "n": 99 })),
"a value already in kv is newer"
);