Skip to content

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

test(notifications): point moved-workspace test at the relocated store

Steven Enamakelfcbfc2ac0056
diff --git a/crates/openhuman-core/src/desktop/notifications/store_import_tests.rs b/crates/openhuman-core/src/desktop/notifications/store_import_tests.rs
index 803755fd86..54d5d2ef1b 100644
--- a/crates/openhuman-core/src/desktop/notifications/store_import_tests.rs
+++ b/crates/openhuman-core/src/desktop/notifications/store_import_tests.rs
@@ -190,6 +190,7 @@ fn core_notifications_survive_a_moved_workspace() {
workspace_dir: moved_dir.clone(),
..Config::default()
};
+ crate::storage::local::use_persistent_default_for_test(&moved_dir);
let core = live::list_core_notifications(&moved, false, 10).unwrap();
let ids: Vec<_> = core.iter().map(|e| e.id.as_str()).collect();
assert_eq!(ids, ["e2", "e1"]);