storkit: merge 462_bug_stage_transition_notifications_can_arrive_out_of_order_and_show_wrong_story_name
This commit is contained in:
@@ -168,6 +168,7 @@ impl From<WatcherEvent> for Option<WsResponse> {
|
||||
item_id,
|
||||
action,
|
||||
commit_msg,
|
||||
..
|
||||
} => Some(WsResponse::WorkItemChanged {
|
||||
stage,
|
||||
item_id,
|
||||
@@ -901,6 +902,7 @@ mod tests {
|
||||
item_id: "42_story_foo".to_string(),
|
||||
action: "start".to_string(),
|
||||
commit_msg: "storkit: start 42_story_foo".to_string(),
|
||||
from_stage: None,
|
||||
};
|
||||
let ws_msg: Option<WsResponse> = evt.into();
|
||||
let ws_msg = ws_msg.expect("WorkItem should produce Some");
|
||||
@@ -1380,6 +1382,7 @@ mod tests {
|
||||
item_id: "99_story_test".to_string(),
|
||||
action: "start".to_string(),
|
||||
commit_msg: "storkit: start 99_story_test".to_string(),
|
||||
from_stage: None,
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user