huskies: merge 961
This commit is contained in:
@@ -119,7 +119,7 @@ mod tests {
|
||||
// Also write to the global content store so read_story_content picks up this
|
||||
// content even when a previous test has left a stale entry for the same ID.
|
||||
crate::db::ensure_content_store();
|
||||
crate::db::write_content(story_id, content);
|
||||
crate::db::write_content(crate::db::ContentKey::Story(story_id), content);
|
||||
}
|
||||
|
||||
// --- create_story integration tests ---
|
||||
|
||||
@@ -280,7 +280,7 @@ mod tests {
|
||||
// Also write to the global content store so read_story_content picks up this
|
||||
// content even when a previous test has left a stale entry for the same ID.
|
||||
crate::db::ensure_content_store();
|
||||
crate::db::write_content(story_id, content);
|
||||
crate::db::write_content(crate::db::ContentKey::Story(story_id), content);
|
||||
}
|
||||
|
||||
// --- create_story integration tests ---
|
||||
|
||||
@@ -67,7 +67,7 @@ mod tests {
|
||||
fs::create_dir_all(¤t).unwrap();
|
||||
fs::write(current.join(format!("{story_id}.md")), content).unwrap();
|
||||
crate::db::ensure_content_store();
|
||||
crate::db::write_content(story_id, content);
|
||||
crate::db::write_content(crate::db::ContentKey::Story(story_id), content);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user