Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Commit 9ec6fdc

Browse files
authored
Merge pull request #1242 from kinvolk/johananl/fix-contour-tests
components/contour: Fix tests
2 parents b6dffe4 + 6f3918d commit 9ec6fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/components/contour/component_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ func TestConversion(t *testing.T) {
119119
t.Run(tc.name, func(t *testing.T) {
120120
t.Parallel()
121121

122-
component := newComponent()
123-
m := testutil.RenderManifests(t, component, name, tc.inputConfig)
122+
component := NewConfig()
123+
m := testutil.RenderManifests(t, component, Name, tc.inputConfig)
124124
gotConfig := testutil.ConfigFromMap(t, m, tc.expectedManifestName)
125125

126126
testutil.MatchJSONPathStringValue(t, gotConfig, tc.jsonPath, tc.expected)

0 commit comments

Comments
 (0)