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:
@@ -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.")),
|
||||||
|
|||||||
Reference in New Issue
Block a user