mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-10 01:18:30 +08:00
NS1: Remove tests for NS1_URLFWD (#3195)
This commit is contained in:
parent
8a6912b762
commit
de0f346ca2
1 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue