1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

TESTING: Add test for TTL change (#2062)

This commit is contained in:
Tom Limoncelli
2023-02-07 14:55:01 -05:00
committed by GitHub
parent d1afe8a12e
commit 325c8868ab

View File

@@ -700,6 +700,11 @@ func makeTests(t *testing.T) []*TestGroup {
tc("Change A target", a("testa", "1.2.3.4")), tc("Change A target", a("testa", "1.2.3.4")),
), ),
testgroup("Attl",
tc("Create Arc", ttl(a("testa", "1.1.1.1"), 333)),
tc("Change TTL", ttl(a("testa", "1.1.1.1"), 999)),
),
testgroup("MX", testgroup("MX",
tc("Create MX", mx("testmx", 5, "foo.com.")), tc("Create MX", mx("testmx", 5, "foo.com.")),
tc("Change MX target", mx("testmx", 5, "bar.com.")), tc("Change MX target", mx("testmx", 5, "bar.com.")),