Skip to content

Commit 8461401

Browse files
committed
changed oisd domain blocklist url in tests
1 parent 001e8a0 commit 8461401

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

action_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func TestActionMissingFile(t *testing.T) {
9595

9696
func TestActionHTTPList(t *testing.T) {
9797
corefile := `filter {
98-
block list domain https://dbl.oisd.nl/basic/
98+
block list domain https://small.oisd.nl/domains
9999
}`
100100
filter := NewTestFilter(t, corefile)
101101
filter.Build()
@@ -136,7 +136,7 @@ func TestListResolver(t *testing.T) {
136136
http.DefaultTransport = nil
137137
corefile := `filter {
138138
listresolver 9.9.9.9
139-
block list domain https://dbl.oisd.nl/basic/
139+
block list domain https://small.oisd.nl/domains
140140
}`
141141
filter := NewTestFilter(t, corefile)
142142
filter.Build()
@@ -152,7 +152,7 @@ func TestListResolverTLS(t *testing.T) {
152152
http.DefaultTransport = nil
153153
corefile := `filter {
154154
listresolver tls://9.9.9.9 dns.quad9.net
155-
block list domain https://dbl.oisd.nl/basic/
155+
block list domain https://small.oisd.nl/domains
156156
}`
157157
filter := NewTestFilter(t, corefile)
158158
filter.Build()

setup_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -340,14 +340,14 @@ func TestAllowList(t *testing.T) {
340340
{
341341
"allow list domain http",
342342
`filter {
343-
allow list domain http://dbl.oisd.nl/basic/
343+
allow list domain http://small.oisd.nl/domains
344344
}`,
345345
false,
346346
},
347347
{
348348
"allow list domain https",
349349
`filter {
350-
allow list domain https://dbl.oisd.nl/basic/
350+
allow list domain https://small.oisd.nl/domains
351351
}`,
352352
false,
353353
},
@@ -518,14 +518,14 @@ func TestBlockList(t *testing.T) {
518518
{
519519
"block list domain http",
520520
`filter {
521-
block list domain http://dbl.oisd.nl/basic/
521+
block list domain http://small.oisd.nl/domains
522522
}`,
523523
false,
524524
},
525525
{
526526
"block list domain https",
527527
`filter {
528-
block list domain https://dbl.oisd.nl/basic/
528+
block list domain https://small.oisd.nl/domains
529529
}`,
530530
false,
531531
},

0 commit comments

Comments
 (0)