mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Revert "CHORE: Refactor integration tests to support multiple tests"
This reverts commit fab3172fee
.
This commit is contained in:
@ -276,12 +276,8 @@ func makeChanges(t *testing.T, prv providers.DNSServiceProvider, dc *models.Doma
|
|||||||
}
|
}
|
||||||
|
|
||||||
func runTests(t *testing.T, prv providers.DNSServiceProvider, domainName string, knownFailures map[int]bool, origConfig map[string]string) {
|
func runTests(t *testing.T, prv providers.DNSServiceProvider, domainName string, knownFailures map[int]bool, origConfig map[string]string) {
|
||||||
testGroups := makeTests(t)
|
|
||||||
runTestsHelper(t, prv, domainName, testGroups, origConfig)
|
|
||||||
}
|
|
||||||
|
|
||||||
func runTestsHelper(t *testing.T, prv providers.DNSServiceProvider, domainName string, testGroups []*TestGroup, origConfig map[string]string) {
|
|
||||||
dc := getDomainConfigWithNameservers(t, prv, domainName)
|
dc := getDomainConfigWithNameservers(t, prv, domainName)
|
||||||
|
testGroups := makeTests(t)
|
||||||
|
|
||||||
firstGroup := *startIdx
|
firstGroup := *startIdx
|
||||||
if firstGroup == -1 {
|
if firstGroup == -1 {
|
||||||
|
Reference in New Issue
Block a user