mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-06 11:56: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")
|
||||
}
|
||||
|
||||
func aaaa(name, target string) *models.RecordConfig {
|
||||
return makeRec(name, target, "AAAA")
|
||||
}
|
||||
|
||||
func alias(name, target string) *models.RecordConfig {
|
||||
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
|
||||
// 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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue