Skip to content

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

test(cron): pass docs by value to Counters::new in migration test

Steven Enamakel2af6534ce7ea
diff --git a/crates/openhuman-core/src/cron/documents_port_tests.rs b/crates/openhuman-core/src/cron/documents_port_tests.rs
index a9df5f6956..2c077720c5 100644
--- a/crates/openhuman-core/src/cron/documents_port_tests.rs
+++ b/crates/openhuman-core/src/cron/documents_port_tests.rs
@@ -143,7 +143,7 @@ async fn schedule_store_migration_moves_legacy_jobs_runs_and_counter_before_read
);
}
assert_eq!(
- tinystoragedrivers::primitives::Counters::new(&docs)
+ tinystoragedrivers::primitives::Counters::new(docs)
.next("cron", "runs")
.await
.unwrap(),