fix(configuration): replace string literals with constants in tests

Signed-off-by: vitshev <vitshev@tracto.ai>
This commit is contained in:
vitshev 2024-12-16 22:34:12 +01:00
parent 96c9a85b62
commit 41a906f0c6
No known key found for this signature in database
GPG Key ID: 8134E7CAB222896C

View File

@ -121,7 +121,7 @@ var configStruct = Configuration{
} `yaml:"letsencrypt,omitempty"` } `yaml:"letsencrypt,omitempty"`
}{ }{
ClientCAs: []string{"/path/to/ca.pem"}, ClientCAs: []string{"/path/to/ca.pem"},
ClientAuth: "verify-client-cert-if-given", ClientAuth: ClientAuthVerifyClientCertIfGiven,
}, },
Headers: http.Header{ Headers: http.Header{
"X-Content-Type-Options": []string{"nosniff"}, "X-Content-Type-Options": []string{"nosniff"},