Skip to content
Snippets Groups Projects
Unverified Commit 7fbb5261 authored by Joona Hoikkala's avatar Joona Hoikkala Committed by GitHub
Browse files

Fix test not to assume preset UseHeaders value (#139)

parent 2da94f14
Branches
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ import ( ...@@ -6,6 +6,7 @@ import (
) )
func TestUpdateAllowedFromIP(t *testing.T) { func TestUpdateAllowedFromIP(t *testing.T) {
Config.API.UseHeader = false
userWithAllow := newACMETxt() userWithAllow := newACMETxt()
userWithAllow.AllowFrom = cidrslice{"192.168.1.2/32", "[::1]/128"} userWithAllow.AllowFrom = cidrslice{"192.168.1.2/32", "[::1]/128"}
userWithoutAllow := newACMETxt() userWithoutAllow := newACMETxt()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment