mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
BUG: Correctly spell Cabability (#582)
This commit is contained in:
@@ -408,7 +408,7 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
}
|
||||
|
||||
// PTR
|
||||
if !providers.ProviderHasCabability(*providerToRun, providers.CanUsePTR) {
|
||||
if !providers.ProviderHasCapability(*providerToRun, providers.CanUsePTR) {
|
||||
t.Log("Skipping PTR Tests because provider does not support them")
|
||||
} else {
|
||||
tests = append(tests, tc("Empty"),
|
||||
@@ -418,7 +418,7 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
}
|
||||
|
||||
// ALIAS
|
||||
if !providers.ProviderHasCabability(*providerToRun, providers.CanUseAlias) {
|
||||
if !providers.ProviderHasCapability(*providerToRun, providers.CanUseAlias) {
|
||||
t.Log("Skipping ALIAS Tests because provider does not support them")
|
||||
} else {
|
||||
tests = append(tests, tc("Empty"),
|
||||
@@ -429,7 +429,7 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
}
|
||||
|
||||
// NAPTR
|
||||
if !providers.ProviderHasCabability(*providerToRun, providers.CanUseNAPTR) {
|
||||
if !providers.ProviderHasCapability(*providerToRun, providers.CanUseNAPTR) {
|
||||
t.Log("Skipping NAPTR Tests because provider does not support them")
|
||||
} else {
|
||||
tests = append(tests, tc("Empty"),
|
||||
@@ -446,7 +446,7 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
}
|
||||
|
||||
// SRV
|
||||
if !providers.ProviderHasCabability(*providerToRun, providers.CanUseSRV) {
|
||||
if !providers.ProviderHasCapability(*providerToRun, providers.CanUseSRV) {
|
||||
t.Log("Skipping SRV Tests because provider does not support them")
|
||||
} else {
|
||||
tests = append(tests, tc("Empty"),
|
||||
@@ -467,7 +467,7 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
}
|
||||
|
||||
// SSHFP
|
||||
if !providers.ProviderHasCabability(*providerToRun, providers.CanUseSSHFP) {
|
||||
if !providers.ProviderHasCapability(*providerToRun, providers.CanUseSSHFP) {
|
||||
t.Log("Skipping SSHFP Tests because provider does not support them")
|
||||
} else {
|
||||
tests = append(tests, tc("Empty"),
|
||||
@@ -490,7 +490,7 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
}
|
||||
|
||||
// CAA
|
||||
if !providers.ProviderHasCabability(*providerToRun, providers.CanUseCAA) {
|
||||
if !providers.ProviderHasCapability(*providerToRun, providers.CanUseCAA) {
|
||||
t.Log("Skipping CAA Tests because provider does not support them")
|
||||
} else {
|
||||
tests = append(tests, tc("Empty"),
|
||||
@@ -504,7 +504,7 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
}
|
||||
|
||||
// TLSA
|
||||
if !providers.ProviderHasCabability(*providerToRun, providers.CanUseTLSA) {
|
||||
if !providers.ProviderHasCapability(*providerToRun, providers.CanUseTLSA) {
|
||||
t.Log("Skipping TLSA Tests because provider does not support them")
|
||||
} else {
|
||||
sha256hash := strings.Repeat("0123456789abcdef", 4)
|
||||
@@ -563,7 +563,7 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
)
|
||||
|
||||
// TXTMulti
|
||||
if !providers.ProviderHasCabability(*providerToRun, providers.CanUseTXTMulti) {
|
||||
if !providers.ProviderHasCapability(*providerToRun, providers.CanUseTXTMulti) {
|
||||
t.Log("Skipping TXTMulti Tests because provider does not support them")
|
||||
} else {
|
||||
tests = append(tests,
|
||||
@@ -612,7 +612,7 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
)
|
||||
|
||||
// R53_ALIAS
|
||||
if !providers.ProviderHasCabability(*providerToRun, providers.CanUseRoute53Alias) {
|
||||
if !providers.ProviderHasCapability(*providerToRun, providers.CanUseRoute53Alias) {
|
||||
t.Log("Skipping Route53 ALIAS Tests because provider does not support them")
|
||||
} else {
|
||||
tests = append(tests, tc("Empty"),
|
||||
|
||||
Reference in New Issue
Block a user