mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CLEANUP: Skip DualProvider tests if Cannot(DocDualHost) (#1345)
* Skip DualProvider tests if Cannot(DocDualHost) * go generate * Fix HEXONET domain
This commit is contained in:
@ -308,6 +308,10 @@ func TestDualProviders(t *testing.T) {
|
||||
t.Fatal("NO DOMAIN SET! Exiting!")
|
||||
}
|
||||
dc := getDomainConfigWithNameservers(t, p, domain)
|
||||
if !providers.ProviderHasCapability(*providerToRun, providers.DocDualHost) {
|
||||
t.Skip("Skipping. DocDualHost == Cannot")
|
||||
return
|
||||
}
|
||||
// clear everything
|
||||
run := func() {
|
||||
dom, _ := dc.Copy()
|
||||
|
Reference in New Issue
Block a user