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:
parent
056f1c85b9
commit
1d4a186d88
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue