Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain committed Apr 29, 2024
1 parent aa2e267 commit 246a49f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/provider/kubernetes/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@ func TestProcessParamsRef(t *testing.T) {

// Process the test case gatewayclasses.
resourceTree := gatewayapi.NewResources()
err := r.processParamsRef(context.Background(), tc.gc, resourceTree)
resourceMap := newResourceMapping()
err := r.processParamsRef(context.Background(), tc.gc, resourceMap, resourceTree)
if tc.expected {
require.NoError(t, err)
// Ensure the resource tree and map are as expected.
Expand Down

0 comments on commit 246a49f

Please sign in to comment.