1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

DEV: Optimize integration tests (#1742)

This commit is contained in:
Tom Limoncelli
2022-09-07 14:08:06 -04:00
committed by GitHub
parent 4328c80335
commit 61e500b7dc
21 changed files with 286 additions and 311 deletions

View File

@@ -1,10 +1,17 @@
package ovh
import "github.com/StackExchange/dnscontrol/v3/models"
import (
"github.com/StackExchange/dnscontrol/v3/models"
"github.com/StackExchange/dnscontrol/v3/pkg/rejectif"
)
// AuditRecords returns a list of errors corresponding to the records
// that aren't supported by this provider. If all records are
// supported, an empty list is returned.
func AuditRecords(records []*models.RecordConfig) []error {
return nil
a := rejectif.Auditor{}
a.Add("MX", rejectif.MxNull) // Last verified 2020-12-28
return a.Audit(records)
}