fix: handler unit test
This commit is contained in:
parent
954195e4d0
commit
558ebb0127
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue