Skip to content

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

test(storage): update grant schema test to renamed collection helper

Steven Enamakel63ba4ff4e9b5
diff --git a/crates/openhuman-core/src/modules/storage_grant_schemas_tests.rs b/crates/openhuman-core/src/modules/storage_grant_schemas_tests.rs
index da50a9bae1..7b1f2d3dc6 100644
--- a/crates/openhuman-core/src/modules/storage_grant_schemas_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_grant_schemas_tests.rs
@@ -23,10 +23,10 @@ fn every_row_has_a_valid_generated_grant() {
.validate()
.unwrap_or_else(|why| panic!("{}: {why}", row.module));
assert!(grant.writable);
- let items = module_items(row.owner);
+ let items = module_collections(row.owner);
assert_eq!(
grant.collections.len(),
- items.collections.len(),
+ items.len(),
"{}",
row.module
);