aboutsummaryrefslogtreecommitdiff
path: root/middleware/autopath/autopath_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/autopath/autopath_test.go')
-rw-r--r--middleware/autopath/autopath_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/middleware/autopath/autopath_test.go b/middleware/autopath/autopath_test.go
index a536ee1fd..719389446 100644
--- a/middleware/autopath/autopath_test.go
+++ b/middleware/autopath/autopath_test.go
@@ -31,6 +31,7 @@ var autopathTestCases = []test.Case{
func newTestAutoPath() *AutoPath {
ap := new(AutoPath)
+ ap.Zones = []string{"."}
ap.Next = nextHandler(map[string]int{
"b.example.org.": dns.RcodeNameError,
"b.com.": dns.RcodeSuccess,