huskies: merge 961
This commit is contained in:
@@ -463,7 +463,7 @@ mod tests {
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
assert!(crate::db::read_content("5_story_test").is_some());
|
||||
assert!(crate::db::read_content(crate::db::ContentKey::Story("5_story_test")).is_some());
|
||||
let parsed: Value = serde_json::from_str(&result).unwrap();
|
||||
assert_eq!(parsed["story_id"], "5_story_test");
|
||||
assert_eq!(parsed["from_stage"], "backlog");
|
||||
@@ -495,7 +495,7 @@ mod tests {
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
assert!(crate::db::read_content("6_story_back").is_some());
|
||||
assert!(crate::db::read_content(crate::db::ContentKey::Story("6_story_back")).is_some());
|
||||
let parsed: Value = serde_json::from_str(&result).unwrap();
|
||||
// from_stage may be inaccurate when using the content-store fallback
|
||||
// (it lacks stage tracking), but the move itself must succeed.
|
||||
@@ -527,7 +527,7 @@ mod tests {
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
assert!(crate::db::read_content("9907_story_idem").is_some());
|
||||
assert!(crate::db::read_content(crate::db::ContentKey::Story("9907_story_idem")).is_some());
|
||||
let parsed: Value = serde_json::from_str(&result).unwrap();
|
||||
// When CRDT is uninitialised the content-store fallback handles the
|
||||
// move, so idempotency detection may not fire. Verify the to_stage
|
||||
|
||||
Reference in New Issue
Block a user