0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-30 22:34:18 -05:00

fix unit test

This commit is contained in:
Medya Gh 2019-12-27 23:23:39 -08:00
parent 056f1c85b9
commit 1d4a186d88

View file

@ -166,7 +166,7 @@ func TestAllowed(t *testing.T) {
}
for _, tt := range tests {
p := NewProxy(nil, nil)
p := NewProxy(nil, nil, map[string]string{})
p.AllowHosts = tt.allowHosts
p.DenyHosts = tt.denyHosts
p.SignatureKey = tt.key