From 7fbb5261c82c5ca9cba82432825823dee1c7d0b3 Mon Sep 17 00:00:00 2001
From: Joona Hoikkala <joohoi@users.noreply.github.com>
Date: Fri, 25 Jan 2019 18:36:29 +0200
Subject: [PATCH] Fix test not to assume preset UseHeaders value (#139)

---
 auth_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/auth_test.go b/auth_test.go
index 911b4f7..630b5db 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()
-- 
GitLab