huskies: merge 864
This commit is contained in:
@@ -449,7 +449,12 @@ mod tests {
|
||||
let content = "---\nname: Test\n---\n";
|
||||
fs::write(backlog.join("5_story_test.md"), content).unwrap();
|
||||
crate::db::ensure_content_store();
|
||||
crate::db::write_item_with_content("5_story_test", "1_backlog", content);
|
||||
crate::db::write_item_with_content(
|
||||
"5_story_test",
|
||||
"1_backlog",
|
||||
content,
|
||||
crate::db::ItemMeta::from_yaml(content),
|
||||
);
|
||||
|
||||
let ctx = test_ctx(root);
|
||||
let result = super::super::tool_move_story(
|
||||
@@ -476,7 +481,12 @@ mod tests {
|
||||
let content = "---\nname: Back\n---\n";
|
||||
fs::write(current.join("6_story_back.md"), content).unwrap();
|
||||
crate::db::ensure_content_store();
|
||||
crate::db::write_item_with_content("6_story_back", "2_current", content);
|
||||
crate::db::write_item_with_content(
|
||||
"6_story_back",
|
||||
"2_current",
|
||||
content,
|
||||
crate::db::ItemMeta::from_yaml(content),
|
||||
);
|
||||
|
||||
let ctx = test_ctx(root);
|
||||
let result = super::super::tool_move_story(
|
||||
@@ -503,7 +513,12 @@ mod tests {
|
||||
let content = "---\nname: Idem\n---\n";
|
||||
fs::write(current.join("9907_story_idem.md"), content).unwrap();
|
||||
crate::db::ensure_content_store();
|
||||
crate::db::write_item_with_content("9907_story_idem", "2_current", content);
|
||||
crate::db::write_item_with_content(
|
||||
"9907_story_idem",
|
||||
"2_current",
|
||||
content,
|
||||
crate::db::ItemMeta::from_yaml(content),
|
||||
);
|
||||
|
||||
let ctx = test_ctx(root);
|
||||
let result = super::super::tool_move_story(
|
||||
|
||||
Reference in New Issue
Block a user