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

@@ -13,10 +13,14 @@ import (
func AuditRecords(records []*models.RecordConfig) []error {
a := rejectif.Auditor{}
a.Add("TXT", MaxLengthDO) // Last verified 2021-03-01
a.Add("CAA", rejectif.CaaTargetContainsWhitespace) // Last verified xxxx-xx-xx
a.Add("CAA", rejectif.CaaTargetHasSemicolon) // Last verified 2021-03-01
a.Add("MX", rejectif.MxNull) // Last verified 2020-12-28
a.Add("TXT", MaxLengthDO) // Last verified 2021-03-01
a.Add("TXT", rejectif.TxtHasDoubleQuotes) // Last verified 2021-03-01
// Double-quotes not permitted in TXT strings. I have a hunch that
// this is due to a broken parser on the DO side.