Skip to content

Commit

Permalink
Fix test not to assume preset UseHeaders value (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
joohoi committed Jan 25, 2019
1 parent 2da94f1 commit 7fbb526
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7fbb526

Please sign in to comment.