fix: handler unit test

This commit is contained in:
David Arnold 2020-06-09 22:11:21 -05:00
parent 954195e4d0
commit 558ebb0127
No known key found for this signature in database
GPG Key ID: 6D6A936E69C59D08

View File

@ -34,7 +34,10 @@ func newTestLdap() *Ldap {
func newTestLdapZones() map[string]*file.Zone {
Zone := file.NewZone("example.org.", "")
Zone.Insert(SOA("example.org."))
for _, rr := range []string{"example.org. " + defaultA} {
for _, rr := range []string{
"example.org. " + defaultA,
"a.example.org. " + defaultA,
} {
r, _ := dns.NewRR(rr)
Zone.Insert(r)
}