mirror of
https://github.com/joohoi/acme-dns.git
synced 2024-12-22 10:33:44 +07:00
Fix test not to assume preset UseHeaders value (#139)
This commit is contained in:
parent
2da94f1462
commit
7fbb5261c8
@ -6,6 +6,7 @@ import (
|
||||
)
|
||||
|
||||
func TestUpdateAllowedFromIP(t *testing.T) {
|
||||
Config.API.UseHeader = false
|
||||
userWithAllow := newACMETxt()
|
||||
userWithAllow.AllowFrom = cidrslice{"192.168.1.2/32", "[::1]/128"}
|
||||
userWithoutAllow := newACMETxt()
|
||||
|
Loading…
Reference in New Issue
Block a user