Skip to content

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

test(storage): use id key in host invocation document payloads

Steven Enamakel2e9991ada7d8
diff --git a/crates/openhuman-core/src/modules/storage_host_invocation_tests.rs b/crates/openhuman-core/src/modules/storage_host_invocation_tests.rs
index 2b6e0353be..4129a99c52 100644
--- a/crates/openhuman-core/src/modules/storage_host_invocation_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_host_invocation_tests.rs
@@ -103,7 +103,7 @@ async fn callback_documents_route_uses_the_captured_storage() {
Some(&peer),
Object::Documents,
"Get",
- json!({"collection": "juice.savings", "document_id": "current"}),
+ json!({"collection": "juice.savings", "id": "current"}),
)
.await;
@@ -125,7 +125,7 @@ async fn callback_documents_route_keeps_the_module_collection_grant() {
Some(&peer),
Object::Documents,
"Get",
- json!({"collection": "another.module.collection", "document_id": "x"}),
+ json!({"collection": "another.module.collection", "id": "x"}),
)
.await,
Err(HostFailure::Denied("target-not-granted"))