diff --git a/common_test.go b/common_test.go index 313691f..4300b5c 100644 --- a/common_test.go +++ b/common_test.go @@ -212,7 +212,7 @@ func TestMain(m *testing.M) { }, } - upstreamBuf := make([]byte, base64.StdEncoding.EncodedLen(9)) + upstreamBuf := make([]byte, base64.StdEncoding.EncodedLen(25)) base64.StdEncoding.Encode(upstreamBuf, []byte("upstreamtest:upstreampass")) caddyHTTPForwardProxyAuth = caddyTestServer{