Skip to content

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

test(cron): assert stored job keeps its definition id

Steven Enamakelc4059d246d58
diff --git a/crates/openhuman-core/src/cron/store_tests.rs b/crates/openhuman-core/src/cron/store_tests.rs
index 9247399f0f..3aa6390a43 100644
--- a/crates/openhuman-core/src/cron/store_tests.rs
+++ b/crates/openhuman-core/src/cron/store_tests.rs
@@ -189,6 +189,7 @@ fn successive_patches_each_land_on_the_stored_job() {
)
.unwrap();
+ assert_eq!(job.agent_id.as_deref(), Some("teeny"), "the definition id is stored");
let renamed = update_job(
&config,
&job.id,