86 lines
2.2 KiB
JSON
86 lines
2.2 KiB
JSON
{
|
|
"format_version": 1,
|
|
"fixture_id": "packed-event-symbolic-company-scope-overlay-fixture",
|
|
"source": {
|
|
"kind": "captured-runtime",
|
|
"description": "Fixture backed by an overlay import document so symbolic company-target packed events execute against selected-company and controller-role context."
|
|
},
|
|
"state_input_path": "packed-event-symbolic-company-scope-overlay.json",
|
|
"commands": [
|
|
{
|
|
"kind": "service_trigger_kind",
|
|
"trigger_kind": 7
|
|
}
|
|
],
|
|
"expected_summary": {
|
|
"calendar_projection_source": "base-snapshot-preserved",
|
|
"calendar_projection_is_placeholder": false,
|
|
"company_count": 3,
|
|
"packed_event_collection_present": true,
|
|
"packed_event_record_count": 4,
|
|
"packed_event_decoded_record_count": 4,
|
|
"packed_event_imported_runtime_record_count": 3,
|
|
"packed_event_parity_only_record_count": 1,
|
|
"packed_event_unsupported_record_count": 0,
|
|
"packed_event_blocked_missing_condition_context_count": 1,
|
|
"event_runtime_record_count": 3,
|
|
"total_event_record_service_count": 3,
|
|
"total_trigger_dispatch_count": 1,
|
|
"dirty_rerun_count": 0,
|
|
"total_company_cash": 244
|
|
},
|
|
"expected_state_fragment": {
|
|
"selected_company_id": 3,
|
|
"companies": [
|
|
{
|
|
"company_id": 1,
|
|
"controller_kind": "human",
|
|
"current_cash": 100,
|
|
"debt": 14
|
|
},
|
|
{
|
|
"company_id": 2,
|
|
"controller_kind": "ai",
|
|
"current_cash": 59,
|
|
"debt": 20
|
|
},
|
|
{
|
|
"company_id": 3,
|
|
"controller_kind": "human",
|
|
"current_cash": 85,
|
|
"debt": 34
|
|
}
|
|
],
|
|
"packed_event_collection": {
|
|
"live_entry_ids": [21, 22, 23, 24],
|
|
"records": [
|
|
{
|
|
"import_outcome": "imported"
|
|
},
|
|
{
|
|
"import_outcome": "imported"
|
|
},
|
|
{
|
|
"import_outcome": "imported"
|
|
},
|
|
{
|
|
"import_outcome": "blocked_missing_condition_context"
|
|
}
|
|
]
|
|
},
|
|
"event_runtime_records": [
|
|
{
|
|
"record_id": 21,
|
|
"service_count": 1
|
|
},
|
|
{
|
|
"record_id": 22,
|
|
"service_count": 1
|
|
},
|
|
{
|
|
"record_id": 23,
|
|
"service_count": 1
|
|
}
|
|
]
|
|
}
|
|
}
|