diff --git a/pkg/fault/v1/fault_test.go b/pkg/fault/v1/fault_test.go index 47b16cc..dad072a 100644 --- a/pkg/fault/v1/fault_test.go +++ b/pkg/fault/v1/fault_test.go @@ -14,9 +14,9 @@ import ( func generateFault(faultId string, faultKind, phaseCode int, occurredDateTime int64) *Fault { return &Fault{ ID: faultId, - Kind: PhaseConnectedFaultKind(faultKind).Enum(), + Kind: PhaseConnectedFaultKind(faultKind), OccurredDateTime: occurredDateTime, - Phases: PhaseCode(phaseCode).Enum(), + Phases: PhaseCode(phaseCode), } }