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 with string literal consistency

Steven Enamakel8ae26ca935ef
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 d1ef0c4342..49e9e98768 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]
@@ -512,7 +512,7 @@ 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")
+ conversations::blocking::get_messages(ctx.clone(), config.workspace_dir.clone(), "uploads".to_string())
.await
.unwrap()
.into_iter()