mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Integration test: Add test for TXT with null string (#597)
This commit is contained in:
@@ -562,6 +562,13 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
tc("Create a 255-byte TXT", txt("foo", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")),
|
||||
)
|
||||
|
||||
// TXT (empty)
|
||||
if *providerToRun != "CLOUDFLAREAPI" {
|
||||
tests = append(tests, tc("Empty"),
|
||||
tc("TXT with empty str", txt("foo1", "")),
|
||||
)
|
||||
}
|
||||
|
||||
// TXTMulti
|
||||
if !providers.ProviderHasCapability(*providerToRun, providers.CanUseTXTMulti) {
|
||||
t.Log("Skipping TXTMulti Tests because provider does not support them")
|
||||
|
||||
Reference in New Issue
Block a user