@ -25,7 +25,7 @@ import (
"sigs.k8s.io/yaml"
"sigs.k8s.io/yaml"
"helm.sh/helm/v4/internal/test/ensure"
"helm.sh/helm/v4/internal/test/ensure"
"helm.sh/helm/v4/pkg/repo "
"helm.sh/helm/v4/pkg/repo /v1 "
)
)
// Young'n, in these here parts, we test our tests.
// Young'n, in these here parts, we test our tests.
@ -113,7 +113,7 @@ func TestNewTempServer(t *testing.T) {
"tls" : {
"tls" : {
options : [ ] ServerOption {
options : [ ] ServerOption {
WithChartSourceGlob ( "testdata/examplechart-0.1.0.tgz" ) ,
WithChartSourceGlob ( "testdata/examplechart-0.1.0.tgz" ) ,
WithTLSConfig ( MakeTestTLSConfig ( t , "../../../ testdata") ) ,
WithTLSConfig ( MakeTestTLSConfig ( t , "../../../ ../ testdata") ) ,
} ,
} ,
} ,
} ,
}
}
@ -212,7 +212,7 @@ func TestNewTempServer_TLS(t *testing.T) {
srv := NewTempServer (
srv := NewTempServer (
t ,
t ,
WithChartSourceGlob ( "testdata/examplechart-0.1.0.tgz" ) ,
WithChartSourceGlob ( "testdata/examplechart-0.1.0.tgz" ) ,
WithTLSConfig ( MakeTestTLSConfig ( t , "../../../ testdata") ) ,
WithTLSConfig ( MakeTestTLSConfig ( t , "../../../ ../ testdata") ) ,
)
)
defer srv . Stop ( )
defer srv . Stop ( )