crossplane: Add test to 'proxy_hide_header' directive (#11687)
Signed-off-by: Gabriel M. Dutra <me@dutralabs.xyz>
This commit is contained in:
parent
37ff5cee73
commit
2ef94a9e71
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ func TestCrossplaneTemplate(t *testing.T) {
|
|||
t.Run("it should be able to marshall and unmarshall the default configuration", func(t *testing.T) {
|
||||
tplConfig.Cfg.DefaultSSLCertificate = defaultCertificate
|
||||
tplConfig.Cfg.EnableBrotli = true
|
||||
tplConfig.Cfg.HideHeaders = []string{"x-fake-header", "x-another-fake-header"}
|
||||
|
||||
tpl.SetMimeFile(mimeFile.Name())
|
||||
content, err := tpl.Write(tplConfig)
|
||||
|
|
Loading…
Reference in a new issue