huskies: merge 961
This commit is contained in:
@@ -284,7 +284,7 @@ mod tests {
|
||||
let bug_id = result.trim_start_matches("Created bug: ").trim();
|
||||
// Bug content should exist in the CRDT content store.
|
||||
assert!(
|
||||
crate::db::read_content(bug_id).is_some(),
|
||||
crate::db::read_content(crate::db::ContentKey::Story(bug_id)).is_some(),
|
||||
"expected bug content in CRDT for {bug_id}"
|
||||
);
|
||||
}
|
||||
@@ -482,7 +482,7 @@ mod tests {
|
||||
let result = tool_close_bug(&json!({"bug_id": "9901_bug_crash"}), &ctx).unwrap();
|
||||
assert!(result.contains("9901_bug_crash"));
|
||||
assert!(
|
||||
crate::db::read_content("9901_bug_crash").is_some(),
|
||||
crate::db::read_content(crate::db::ContentKey::Story("9901_bug_crash")).is_some(),
|
||||
"content store should have the bug after close"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user