feat(platform): include service status in vehicle resolution
This commit is contained in:
@@ -257,6 +257,9 @@ func TestHandlerVehicleResolveReturnsCanonicalIdentity(t *testing.T) {
|
||||
if len(body.Data.Protocols) < 2 {
|
||||
t.Fatalf("resolve should include available source protocols, got %+v", body.Data.Protocols)
|
||||
}
|
||||
if body.Data.ServiceStatus == nil || body.Data.ServiceStatus.Status != "degraded" {
|
||||
t.Fatalf("resolve should include canonical service status, got %+v body=%s", body.Data.ServiceStatus, rec.Body.String())
|
||||
}
|
||||
}
|
||||
|
||||
func TestHandlerVehicleResolveKeepsUnresolvedKeyword(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user