Skip to content

Commit 4fc88aa

Browse files
authored
RType AAAA: Add integration test for AAAA. (#2647)
1 parent c7065e6 commit 4fc88aa

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

integrationTest/integration_test.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,10 @@ func a(name, target string) *models.RecordConfig {
464464
return makeRec(name, target, "A")
465465
}
466466

467+
func aaaa(name, target string) *models.RecordConfig {
468+
return makeRec(name, target, "AAAA")
469+
}
470+
467471
func alias(name, target string) *models.RecordConfig {
468472
return makeRec(name, target, "ALIAS")
469473
}
@@ -873,7 +877,10 @@ func makeTests(t *testing.T) []*TestGroup {
873877
// Narrative: That wasn't as hard as expected, eh? Let's test the
874878
// other basic record types like AAAA, CNAME, MX and TXT.
875879

876-
// AAAA: TODO(tlim) Add AAAA test.
880+
testgroup("AAAA",
881+
tc("Create AAAA", aaaa("testaaaa", "2607:f8b0:4006:820::2006")),
882+
tc("Change AAAA target", aaaa("testaaaa", "2607:f8b0:4006:820::2013")),
883+
),
877884

878885
// CNAME
879886

0 commit comments

Comments
 (0)