huskies: merge 961
This commit is contained in:
@@ -663,7 +663,7 @@ mod tests {
|
||||
let content = "---\nname: Foo\n---\n";
|
||||
fs::write(backlog.join("9905_story_foo.md"), content).unwrap();
|
||||
crate::db::ensure_content_store();
|
||||
crate::db::write_content("9905_story_foo", content);
|
||||
crate::db::write_content(crate::db::ContentKey::Story("9905_story_foo"), content);
|
||||
|
||||
let store = Arc::new(TimerStore::load(root.join("timers.json")));
|
||||
let past = Utc::now() - Duration::seconds(5);
|
||||
@@ -682,7 +682,7 @@ mod tests {
|
||||
);
|
||||
// Story should still be accessible in the content store after the move.
|
||||
assert!(
|
||||
crate::db::read_content("9905_story_foo").is_some(),
|
||||
crate::db::read_content(crate::db::ContentKey::Story("9905_story_foo")).is_some(),
|
||||
"story should be in the content store after tick fires"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user