feat(platform): summarize missing vehicle sources

This commit is contained in:
lingniu
2026-07-04 06:13:38 +08:00
parent 1c210897bb
commit 8cd90f629b
7 changed files with 53 additions and 7 deletions

View File

@@ -185,6 +185,9 @@ func TestHandlerVehicleCoverageSummary(t *testing.T) {
if body.Data.OnlineVehicles != 1 || body.Data.UnboundVehicles != 0 {
t.Fatalf("coverage summary should expose filtered online and binding totals, got %+v", body.Data)
}
if len(body.Data.MissingSources) == 0 {
t.Fatalf("coverage summary should expose missing source counts, got %+v", body.Data)
}
}
func TestSplitCSVEmptyReturnsEmptySlice(t *testing.T) {