diff --git a/processor/processor_test.go b/processor/processor_test.go index 5662ebdeec..e2b57c1bdd 100644 --- a/processor/processor_test.go +++ b/processor/processor_test.go @@ -2268,7 +2268,7 @@ var _ = Describe("Processor", Ordered, func() { commonMetadata.SourceJobRunID, commonMetadata.EventName, commonMetadata.EventType, - }, "!<<#>>!") + }, "!<<#>>!") Expect(len(m.failedJobs)).To(Equal(2)) Expect(len(m.failedMetrics)).To(Equal(2)) diff --git a/router/types/types_test.go b/router/types/types_test.go index dbe21136d9..936cc7fc87 100644 --- a/router/types/types_test.go +++ b/router/types/types_test.go @@ -28,9 +28,9 @@ func TestDehydrateAndHydrate(t *testing.T) { } destJobs := types.DestinationJobs{ - {JobMetadataArray: []types.JobMetadataT{{JobID: 1}}}, - {JobMetadataArray: []types.JobMetadataT{{JobID: 2}}}, - {JobMetadataArray: []types.JobMetadataT{{JobID: 3}}}, + types.DestinationJobT{JobMetadataArray: []types.JobMetadataT{{JobID: 1}}}, + types.DestinationJobT{JobMetadataArray: []types.JobMetadataT{{JobID: 2}}}, + types.DestinationJobT{JobMetadataArray: []types.JobMetadataT{{JobID: 3}}}, } destJobs.Hydrate(jobs)