238/238 tests pass: ScenarioDrone/ScenarioUnit migration complete

- TestData uses DB existing IDs (ground-light/radar-mr/shahed)
- CreateDetectionUnit with SensorSpecId=radar-mr
- CreateScenarioUnit with FireUnitSpecId=ground-light
- Fixed SaveDeployment assertion value
This commit is contained in:
tian 2026-06-18 17:14:51 +08:00
parent bb04411d6d
commit 4b08ffa659

View File

@ -220,7 +220,7 @@ namespace CounterDrone.Core.Tests
var platform = detail.Units.Find(e => e.EquipmentRole == (int)EquipmentRole.LaunchPlatform);
Assert.NotNull(platform);
Assert.Equal(2, platform.Quantity);
Assert.Equal(1, platform.Quantity);
Assert.Equal(800.0, TestData.DefaultFuSpec.MuzzleVelocity);
}