mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-06 20:05:50 +08:00
RType AAAA: Add integration test for AAAA. (#2647)
This commit is contained in:
parent
c7065e6794
commit
4fc88aa2dc
1 changed files with 8 additions and 1 deletions
|
@ -464,6 +464,10 @@ func a(name, target string) *models.RecordConfig {
|
||||||
return makeRec(name, target, "A")
|
return makeRec(name, target, "A")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func aaaa(name, target string) *models.RecordConfig {
|
||||||
|
return makeRec(name, target, "AAAA")
|
||||||
|
}
|
||||||
|
|
||||||
func alias(name, target string) *models.RecordConfig {
|
func alias(name, target string) *models.RecordConfig {
|
||||||
return makeRec(name, target, "ALIAS")
|
return makeRec(name, target, "ALIAS")
|
||||||
}
|
}
|
||||||
|
@ -873,7 +877,10 @@ func makeTests(t *testing.T) []*TestGroup {
|
||||||
// Narrative: That wasn't as hard as expected, eh? Let's test the
|
// Narrative: That wasn't as hard as expected, eh? Let's test the
|
||||||
// other basic record types like AAAA, CNAME, MX and TXT.
|
// other basic record types like AAAA, CNAME, MX and TXT.
|
||||||
|
|
||||||
// AAAA: TODO(tlim) Add AAAA test.
|
testgroup("AAAA",
|
||||||
|
tc("Create AAAA", aaaa("testaaaa", "2607:f8b0:4006:820::2006")),
|
||||||
|
tc("Change AAAA target", aaaa("testaaaa", "2607:f8b0:4006:820::2013")),
|
||||||
|
),
|
||||||
|
|
||||||
// CNAME
|
// CNAME
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue