diff --git a/test/api/migrationwave/samples.go b/test/api/migrationwave/samples.go index 4c0ef9fa1..535d5dbae 100644 --- a/test/api/migrationwave/samples.go +++ b/test/api/migrationwave/samples.go @@ -13,19 +13,16 @@ var Samples = []api.MigrationWave{ EndDate: time.Date(time.Now().Year(), time.Now().Month(), time.Now().Day(), 0, 0, 0, 0, time.Local).Add(30 * time.Minute), Applications: []api.Ref{ { - ID: 1, Name: "Sample Application", }, }, Stakeholders: []api.Ref{ { - ID: 1, Name: "Sample Stakeholders", }, }, StakeholderGroups: []api.Ref{ { - ID: 1, Name: "Sample Stakeholders Groups", }, }, diff --git a/test/api/review/samples.go b/test/api/review/samples.go index 4fb33b981..64df44e99 100644 --- a/test/api/review/samples.go +++ b/test/api/review/samples.go @@ -12,7 +12,6 @@ var Samples = []api.Review{ WorkPriority: 1, Comments: "nil", Application: &api.Ref{ - ID: 1, Name: "Sample Review 1", }, }, @@ -23,7 +22,6 @@ var Samples = []api.Review{ WorkPriority: 2, Comments: "nil", Application: &api.Ref{ - ID: 2, Name: "Sample Review 2", }, }, diff --git a/test/api/ticket/samples.go b/test/api/ticket/samples.go index 5a74246ad..a4fe35eb4 100644 --- a/test/api/ticket/samples.go +++ b/test/api/ticket/samples.go @@ -2,7 +2,6 @@ package ticket import ( "github.com/konveyor/tackle2-hub/api" - TrackerSamples "github.com/konveyor/tackle2-hub/test/api/tracker" ) var Samples = []api.Ticket{ @@ -10,12 +9,10 @@ var Samples = []api.Ticket{ Kind: "10001", Parent: "10000", Application: api.Ref{ - ID: 1, Name: "Sample Application1", }, Tracker: api.Ref{ - ID: 1, - Name: TrackerSamples.Samples[0].Name, + Name: "Sample Ticket-Tracker", }, }, } diff --git a/test/api/tracker/samples.go b/test/api/tracker/samples.go index 1face0d01..e9701e729 100644 --- a/test/api/tracker/samples.go +++ b/test/api/tracker/samples.go @@ -14,7 +14,6 @@ var Samples = []api.Tracker{ Message: "Description of tracker", LastUpdated: time.Date(time.Now().Year(), time.Now().Month(), time.Now().Day(), 0, 0, 0, 0, time.Local), Identity: api.Ref{ - ID: 1, Name: "Sample Tracker Identity", }, Insecure: false, @@ -26,7 +25,6 @@ var Samples = []api.Tracker{ Message: "Description of tracker1", LastUpdated: time.Date(time.Now().Year(), time.Now().Month(), time.Now().Day(), 0, 0, 0, 0, time.Local), Identity: api.Ref{ - ID: 2, Name: "Sample Tracker Identity1", }, Insecure: false,