Skip to content

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

test(crud): update message append tests

Steven Enamakelf2cd42f7b153
diff --git a/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rs b/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rs
index 275cf66d1f..3edef9fdb5 100644
--- a/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rs
+++ b/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rs
@@ -351,7 +351,7 @@ async fn append_cannot_forge_private_attachment_storage_metadata() {
let stored = crate::threads::store::get_messages(
&crate::core::runtime::DispatchCtx::ambient(),
config.workspace_dir.clone(),
- "uploads".to_string(),
+ "uploads",
)
.unwrap();
assert!(stored[0]
@@ -511,8 +511,11 @@ async fn public_metadata_updates_preserve_private_attachment_bindings() {
);
left.expect("concurrent metadata update one");
right.expect("concurrent metadata update two");
- let current =
- conversations::blocking::get_messages(ctx.clone(), config.workspace_dir.clone(), "uploads")
+ let current = conversations::blocking::get_messages(
+ ctx.clone(),
+ config.workspace_dir.clone(),
+ "uploads".to_string(),
+ )
.await
.unwrap()
.into_iter()