huskies: merge 951
This commit is contained in:
@@ -165,7 +165,7 @@ async fn init_and_write_read_roundtrip() {
|
||||
// Insert and update like write_item does.
|
||||
let item_json: JsonValue = json!({
|
||||
"story_id": "50_story_roundtrip",
|
||||
"stage": "1_backlog",
|
||||
"stage": "backlog",
|
||||
"name": "Roundtrip",
|
||||
"agent": "",
|
||||
"retry_count": 0.0,
|
||||
@@ -206,7 +206,7 @@ async fn init_and_write_read_roundtrip() {
|
||||
|
||||
let view = extract_item_view(&crdt2.doc.items[0]).unwrap();
|
||||
assert_eq!(view.story_id, "50_story_roundtrip");
|
||||
assert_eq!(view.stage, "1_backlog");
|
||||
assert!(matches!(view.stage, crate::pipeline_state::Stage::Backlog));
|
||||
assert_eq!(view.name.as_deref(), Some("Roundtrip"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user