@@ -522,7 +522,7 @@ func TestKustomizeBuildComponentsMonoRepo(t *testing.T) {
522522 Components : []string {"../../../../../../kustomize/components/all" },
523523 IgnoreMissingComponents : true ,
524524 }
525- objs , _ , _ , err := kustomize .Build (& kustomizeSource , nil , nil , nil )
525+ objs , _ , _ , err := kustomize .Build (& kustomizeSource , nil , nil , nil , "" )
526526 require .NoError (t , err )
527527 obj := objs [2 ]
528528 require .Equal (t , "hello-world-kustomize" , obj .GetName ())
@@ -611,7 +611,7 @@ func TestFailKustomizeBuildPatches(t *testing.T) {
611611 },
612612 }
613613
614- _ , _ , _ , err = kustomize .Build (& kustomizeSource , nil , nil , nil , "" )
614+ _ , _ , _ , err = kustomize .Build (& kustomizeSource , nil , nil , nil , "some-namespace " )
615615 require .EqualError (t , err , "kustomization file not found in the path" )
616616}
617617
@@ -626,7 +626,7 @@ func TestKustomizeBuildComponentsNoFoundComponents(t *testing.T) {
626626 Components : []string {"./non-existent-component1" , "./non-existent-component2" },
627627 IgnoreMissingComponents : true ,
628628 }
629- _ , _ , commands , err := kustomize .Build (& kustomizeSource , nil , nil , nil )
629+ _ , _ , commands , err := kustomize .Build (& kustomizeSource , nil , nil , nil , "" )
630630 require .NoError (t , err )
631631
632632 // Verify that no "edit add component" command was executed
0 commit comments