huskies: merge 961
This commit is contained in:
@@ -349,7 +349,7 @@ mod tests {
|
||||
let story_file = current_dir.join("24_story_test.md");
|
||||
std::fs::write(&story_file, content).unwrap();
|
||||
crate::db::ensure_content_store();
|
||||
crate::db::write_content("24_story_test", content);
|
||||
crate::db::write_content(crate::db::ContentKey::Story("24_story_test"), content);
|
||||
std::process::Command::new("git")
|
||||
.args(["add", "."])
|
||||
.current_dir(tmp.path())
|
||||
@@ -366,7 +366,7 @@ mod tests {
|
||||
let result = tool_move_story_to_merge(&json!({"story_id": "24_story_test"}), &ctx).await;
|
||||
// Content store should still have the item after the move
|
||||
assert!(
|
||||
crate::db::read_content("24_story_test").is_some(),
|
||||
crate::db::read_content(crate::db::ContentKey::Story("24_story_test")).is_some(),
|
||||
"content store should have the story after move"
|
||||
);
|
||||
// Result is either Ok (agent started) or Err (agent failed - acceptable in tests)
|
||||
|
||||
Reference in New Issue
Block a user