diff options
Diffstat (limited to 'test/file_cname_proxy_test.go')
-rw-r--r-- | test/file_cname_proxy_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/file_cname_proxy_test.go b/test/file_cname_proxy_test.go index e6f41ee97..5fb13622b 100644 --- a/test/file_cname_proxy_test.go +++ b/test/file_cname_proxy_test.go @@ -3,13 +3,15 @@ package test import ( "testing" + "github.com/coredns/coredns/plugin/test" + "github.com/miekg/dns" ) func TestZoneExternalCNAMELookupWithoutProxy(t *testing.T) { t.Parallel() - name, rm, err := TempFile(".", exampleOrg) + name, rm, err := test.TempFile(".", exampleOrg) if err != nil { t.Fatalf("Failed to create zone: %s", err) } @@ -41,7 +43,7 @@ func TestZoneExternalCNAMELookupWithoutProxy(t *testing.T) { func TestZoneExternalCNAMELookupWithProxy(t *testing.T) { t.Parallel() - name, rm, err := TempFile(".", exampleOrg) + name, rm, err := test.TempFile(".", exampleOrg) if err != nil { t.Fatalf("Failed to create zone: %s", err) } |