feat(packs): PackDrawTableImporter with fixture tests
Idempotent upsert keyed on pack_id; slot rates and card weights are wiped per pack and reinserted. String slot/tier in the seed translate to enum at import time. Tests: - Imports_config_slot_rates_and_card_weights - Is_idempotent_on_rerun Fixtures live under SVSim.Bootstrap/Data/test-fixtures/seeds/ and overlay the production seeds via the existing csproj rule (test-fixture file beats production file at same Link path). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
[
|
||||
{ "pack_id": 10000, "short_code": "Basic", "animation_rate_pct": 8.0, "has_bonus_slot": false, "special_kind": null },
|
||||
{ "pack_id": 98001, "short_code": "98ANV", "animation_rate_pct": 8.0, "has_bonus_slot": true, "special_kind": "leader_card" }
|
||||
]
|
||||
Reference in New Issue
Block a user