fix: update workflow-free tui tests

This commit is contained in:
2026-07-16 06:32:07 +09:00
parent 0b56052a44
commit bc48094dde
4 changed files with 28 additions and 14 deletions
+3 -4
View File
@@ -3584,12 +3584,11 @@ mod completion_flow_tests {
```json\n{\n \"tasks\": [\n {\n \"taskid\": 4,\n \
\"status\": \"inprogress\",\n \"subject\": \"from snapshot\",\n \
\"description\": \"d\"\n }\n ]\n}\n```\n";
// Snapshot text injected as a workflow body (kind doesn't matter
// for task-store parsing, only the text contents do).
// Snapshot text injected through an active system item kind; legacy
// workflow items are intentionally ignored and must not carry active state.
app.handle_worker_event(Event::SystemItem {
item: serde_json::json!({
"kind": "workflow",
"slug": "task-snapshot",
"kind": "task_reminder",
"body": snapshot,
}),
});