Skip to content

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

test(notifications): use explicit first version in store documents test

Steven Enamakel257739d1f04e
diff --git a/crates/openhuman-core/src/desktop/notifications/store_documents_tests.rs b/crates/openhuman-core/src/desktop/notifications/store_documents_tests.rs
index e7911b61bb..3b7d5fa527 100644
--- a/crates/openhuman-core/src/desktop/notifications/store_documents_tests.rs
+++ b/crates/openhuman-core/src/desktop/notifications/store_documents_tests.rs
@@ -219,7 +219,7 @@ fn a_corrupt_core_payload_is_skipped() {
fn an_unparseable_raw_payload_reads_as_a_string() {
let stored = Versioned {
id: "x".to_string(),
- version: Default::default(),
+ version: tinystoragedrivers::Version::FIRST,
doc: json!({ "raw_payload": "plain text", "status": "weird" }),
};
let read = to_notification(&stored);