Skip to content

Commit 7fbb526

Browse files
authored
Fix test not to assume preset UseHeaders value (joohoi#139)
1 parent 2da94f1 commit 7fbb526

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

auth_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
)
77

88
func TestUpdateAllowedFromIP(t *testing.T) {
9+
Config.API.UseHeader = false
910
userWithAllow := newACMETxt()
1011
userWithAllow.AllowFrom = cidrslice{"192.168.1.2/32", "[::1]/128"}
1112
userWithoutAllow := newACMETxt()

0 commit comments

Comments
 (0)