@@ -27,7 +27,7 @@ func Test_buildDockerClientOptions(t *testing.T) {
27
27
28
28
t .Run ("tls disabled" , func (t * testing.T ) {
29
29
os .Unsetenv (DockerTLSVerifyEnvVar )
30
- opts := buildDockerClientOptions ()
30
+ opts := BuildDockerClientOptions ()
31
31
assert .False (t , opts .Common .TLS , "expected TLS to be disabled" )
32
32
assert .False (t , opts .Common .TLSVerify , "expected TLSVerify to be disabled" )
33
33
assert .Nil (t , opts .Common .TLSOptions , "expected TLSOptions to be unset" )
@@ -40,7 +40,7 @@ func Test_buildDockerClientOptions(t *testing.T) {
40
40
os .Unsetenv (DockerTLSVerifyEnvVar )
41
41
}()
42
42
43
- opts := buildDockerClientOptions ()
43
+ opts := BuildDockerClientOptions ()
44
44
assert .True (t , opts .Common .TLS , "expected TLS to be enabled" )
45
45
assert .True (t , opts .Common .TLSVerify , "expected the certs to be verified" )
46
46
assert .Equal (t , defaultTLSOptions , opts .Common .TLSOptions , "expected TLSOptions to be initialized to the default TLS settings" )
@@ -54,7 +54,7 @@ func Test_buildDockerClientOptions(t *testing.T) {
54
54
os .Unsetenv (DockerCertPathEnvVar )
55
55
}()
56
56
57
- opts := buildDockerClientOptions ()
57
+ opts := BuildDockerClientOptions ()
58
58
assert .True (t , opts .Common .TLS , "expected TLS to be enabled" )
59
59
assert .True (t , opts .Common .TLSVerify , "expected the certs to be verified" )
60
60
assert .Equal (t , customTLSOptions , opts .Common .TLSOptions , "expected TLSOptions to use the custom DOCKER_CERT_PATH set" )
@@ -68,7 +68,7 @@ func Test_buildDockerClientOptions(t *testing.T) {
68
68
os .Unsetenv (DockerCertPathEnvVar )
69
69
}()
70
70
71
- opts := buildDockerClientOptions ()
71
+ opts := BuildDockerClientOptions ()
72
72
assert .True (t , opts .Common .TLS , "expected TLS to be enabled" )
73
73
assert .False (t , opts .Common .TLSVerify , "expected TLSVerify to be false" )
74
74
assert .Equal (t , customTLSOptions , opts .Common .TLSOptions , "expected TLSOptions to use the custom DOCKER_CERT_PATH set" )
0 commit comments