ticket: remove legacy schema fields
This commit is contained in:
@@ -3054,9 +3054,7 @@ mod tests {
|
||||
attention_required: None,
|
||||
queued_by: None,
|
||||
queued_at: None,
|
||||
needs_preflight: None,
|
||||
risk_flags: Vec::new(),
|
||||
legacy_ticket: None,
|
||||
};
|
||||
configure(&mut input);
|
||||
let ticket = backend.create(input).unwrap();
|
||||
|
||||
@@ -621,7 +621,6 @@ fn ticket_summary_from_meta(meta: &TicketMeta) -> TicketSummary {
|
||||
priority: meta.priority.clone(),
|
||||
labels: meta.labels.clone(),
|
||||
readiness: meta.readiness.clone(),
|
||||
needs_preflight: meta.needs_preflight,
|
||||
action_required: meta.action_required.clone(),
|
||||
workflow_state: meta.workflow_state,
|
||||
workflow_state_explicit: meta.workflow_state_explicit,
|
||||
@@ -1103,7 +1102,6 @@ mod tests {
|
||||
"readiness-heuristic",
|
||||
|input| {
|
||||
input.readiness = Some("implementation-ready".to_string());
|
||||
input.needs_preflight = Some(false);
|
||||
},
|
||||
);
|
||||
create_ticket(&backend, "Label Heuristic", "label-heuristic", |input| {
|
||||
|
||||
Reference in New Issue
Block a user