Remove duplicated TempFile testsuit (#2508)

This commit is contained in:
Xuanwo
2019-01-28 15:25:14 +08:00
committed by Miek Gieben
parent f300fa9bb2
commit ffe79b026e
8 changed files with 25 additions and 31 deletions

View File

@@ -5,6 +5,7 @@ import (
"testing"
"time"
"github.com/coredns/coredns/plugin/test"
"github.com/coredns/coredns/plugin/file"
"github.com/miekg/dns"
@@ -13,7 +14,7 @@ import (
func TestZoneReload(t *testing.T) {
file.TickTime = 1 * time.Second
name, rm, err := TempFile(".", exampleOrg)
name, rm, err := test.TempFile(".", exampleOrg)
if err != nil {
t.Fatalf("Failed to create zone: %s", err)
}