64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
|
|
{
|
||
|
|
"format_version": 1,
|
||
|
|
"fixture_id": "packed-event-territory-access-overlay-fixture",
|
||
|
|
"source": {
|
||
|
|
"kind": "captured-runtime",
|
||
|
|
"description": "Fixture proving descriptor 3 Territory - Allow All imports as company territory-access rights and executes through the ordinary runtime path."
|
||
|
|
},
|
||
|
|
"state_import_path": "packed-event-territory-access-overlay.json",
|
||
|
|
"commands": [
|
||
|
|
{
|
||
|
|
"kind": "service_trigger_kind",
|
||
|
|
"trigger_kind": 6
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"expected_summary": {
|
||
|
|
"calendar_projection_source": "base-snapshot-preserved",
|
||
|
|
"calendar_projection_is_placeholder": false,
|
||
|
|
"company_count": 3,
|
||
|
|
"active_company_count": 3,
|
||
|
|
"player_count": 2,
|
||
|
|
"territory_count": 2,
|
||
|
|
"packed_event_collection_present": true,
|
||
|
|
"packed_event_record_count": 1,
|
||
|
|
"packed_event_decoded_record_count": 1,
|
||
|
|
"packed_event_imported_runtime_record_count": 1,
|
||
|
|
"event_runtime_record_count": 1,
|
||
|
|
"total_event_record_service_count": 1,
|
||
|
|
"total_trigger_dispatch_count": 1
|
||
|
|
},
|
||
|
|
"expected_state_fragment": {
|
||
|
|
"company_territory_access": [
|
||
|
|
{
|
||
|
|
"company_id": 1,
|
||
|
|
"territory_id": 7
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"packed_event_collection": {
|
||
|
|
"records": [
|
||
|
|
{
|
||
|
|
"import_outcome": "imported",
|
||
|
|
"decoded_actions": [
|
||
|
|
{
|
||
|
|
"kind": "set_company_territory_access",
|
||
|
|
"target": {
|
||
|
|
"kind": "selected_company"
|
||
|
|
},
|
||
|
|
"territory": {
|
||
|
|
"kind": "ids",
|
||
|
|
"ids": [7]
|
||
|
|
},
|
||
|
|
"value": true
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"event_runtime_records": [
|
||
|
|
{
|
||
|
|
"record_id": 48,
|
||
|
|
"service_count": 1
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|