diff options
Diffstat (limited to 'middleware/whoami/whoami_test.go')
-rw-r--r-- | middleware/whoami/whoami_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/middleware/whoami/whoami_test.go b/middleware/whoami/whoami_test.go index f5376bde1..736cdf18a 100644 --- a/middleware/whoami/whoami_test.go +++ b/middleware/whoami/whoami_test.go @@ -3,7 +3,6 @@ package whoami import ( "testing" - "github.com/miekg/coredns/middleware" "github.com/miekg/coredns/middleware/pkg/dnsrecorder" "github.com/miekg/coredns/middleware/test" @@ -15,7 +14,6 @@ func TestWhoami(t *testing.T) { wh := Whoami{} tests := []struct { - next middleware.Handler qname string qtype uint16 expectedCode int @@ -23,7 +21,6 @@ func TestWhoami(t *testing.T) { expectedErr error }{ { - next: test.NextHandler(dns.RcodeSuccess, nil), qname: "example.org", qtype: dns.TypeA, expectedCode: dns.RcodeSuccess, @@ -35,7 +32,6 @@ func TestWhoami(t *testing.T) { ctx := context.TODO() for i, tc := range tests { - wh.Next = tc.next req := new(dns.Msg) req.SetQuestion(dns.Fqdn(tc.qname), tc.qtype) |