Skip to content

Commit

Permalink
fix template/workload test by adding image-overrides to mockbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Lou1415926 committed Mar 2, 2021
1 parent 013104b commit a1a1184
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/pkg/template/workload_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func TestTemplate_ParseSvc(t *testing.T) {
mockBox.AddString("workloads/partials/cf/env-controller.yml", "env-controller")
mockBox.AddString("workloads/partials/cf/mount-points.yml", "mount-points")
mockBox.AddString("workloads/partials/cf/volumes.yml", "volumes")
mockBox.AddString("workloads/partials/cf/image-overrides.yml", "image-overrides")

t.box = mockBox
},
Expand All @@ -67,6 +68,7 @@ func TestTemplate_ParseSvc(t *testing.T) {
env-controller
mount-points
volumes
image-overrides
`,
},
}
Expand Down

0 comments on commit a1a1184

Please sign in to comment.