NS1: Remove tests for NS1_URLFWD (#3195)

This commit is contained in:
Tom Limoncelli 2024-11-07 21:26:42 +00:00 committed by GitHub
parent 8a6912b762
commit de0f346ca2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -779,10 +779,6 @@ func tlsa(name string, usage, selector, matchingtype uint8, target string) *mode
return r
}
func ns1Urlfwd(name, target string) *models.RecordConfig {
return makeRec(name, target, "NS1_URLFWD")
}
func porkbunUrlfwd(name, target, t, includePath, wildcard string) *models.RecordConfig {
r := makeRec(name, target, "PORKBUN_URLFWD")
r.Metadata = make(map[string]string)
@ -2080,14 +2076,6 @@ func makeTests() []*TestGroup {
),
),
// NS1 features
testgroup("NS1_URLFWD tests",
only("NS1"),
tc("Add a urlfwd", ns1Urlfwd("urlfwd1", "/ http://example.com 302 2 0")),
tc("Update a urlfwd", ns1Urlfwd("urlfwd1", "/ http://example.org 301 2 0")),
),
//// IGNORE* features
// Narrative: You're basically done now. These remaining tests