aboutsummaryrefslogtreecommitdiff
path: root/plugin/forward/lookup_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/forward/lookup_test.go')
-rw-r--r--plugin/forward/lookup_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/forward/lookup_test.go b/plugin/forward/lookup_test.go
index 69c7a1949..e37a0c5d7 100644
--- a/plugin/forward/lookup_test.go
+++ b/plugin/forward/lookup_test.go
@@ -6,6 +6,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/dnstest"
"github.com/coredns/coredns/plugin/test"
"github.com/coredns/coredns/request"
+
"github.com/miekg/dns"
)
@@ -18,7 +19,7 @@ func TestLookup(t *testing.T) {
})
defer s.Close()
- p := NewProxy(s.Addr)
+ p := NewProxy(s.Addr, nil /* no TLS */)
f := New()
f.SetProxy(p)
defer f.Close()