Skip to content

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

test(artifacts): fix version file path in production test

Steven Enamakel549722ce5d4d
diff --git a/crates/openhuman-core/src/artifacts/production_tests.rs b/crates/openhuman-core/src/artifacts/production_tests.rs
index 4a2cc93806..4b4ddd9570 100644
--- a/crates/openhuman-core/src/artifacts/production_tests.rs
+++ b/crates/openhuman-core/src/artifacts/production_tests.rs
@@ -90,6 +90,7 @@ async fn a_new_artifact_shares_one_id_and_one_file_between_card_and_record() {
// The version holds its own copy; the files folder shows the newest.
let file = record.latest().unwrap().file.clone().unwrap();
let kept = crate::artifacts::tiny_store::version_files_dir(&workspace)
+ .join("artifacts/files")
.join(&id)
.join("v1.pptx");
assert_eq!(stored_file_path(&workspace, &file), kept);