From 0b4b311ae9a2fef94a798622c7944b24de384aa4 Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Fri, 25 Jan 2019 18:27:25 +0200 Subject: [PATCH] Fix test not to assume preset UseHeaders value --- auth_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/auth_test.go b/auth_test.go index 911b4f74..630b5db0 100644 --- a/auth_test.go +++ b/auth_test.go @@ -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()