File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ func TestActionMissingFile(t *testing.T) {
95
95
96
96
func TestActionHTTPList (t * testing.T ) {
97
97
corefile := `filter {
98
- block list domain https://dbl .oisd.nl/basic/
98
+ block list domain https://small .oisd.nl/domains
99
99
}`
100
100
filter := NewTestFilter (t , corefile )
101
101
filter .Build ()
@@ -136,7 +136,7 @@ func TestListResolver(t *testing.T) {
136
136
http .DefaultTransport = nil
137
137
corefile := `filter {
138
138
listresolver 9.9.9.9
139
- block list domain https://dbl .oisd.nl/basic/
139
+ block list domain https://small .oisd.nl/domains
140
140
}`
141
141
filter := NewTestFilter (t , corefile )
142
142
filter .Build ()
@@ -152,7 +152,7 @@ func TestListResolverTLS(t *testing.T) {
152
152
http .DefaultTransport = nil
153
153
corefile := `filter {
154
154
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
156
156
}`
157
157
filter := NewTestFilter (t , corefile )
158
158
filter .Build ()
Original file line number Diff line number Diff line change @@ -340,14 +340,14 @@ func TestAllowList(t *testing.T) {
340
340
{
341
341
"allow list domain http" ,
342
342
`filter {
343
- allow list domain http://dbl .oisd.nl/basic/
343
+ allow list domain http://small .oisd.nl/domains
344
344
}` ,
345
345
false ,
346
346
},
347
347
{
348
348
"allow list domain https" ,
349
349
`filter {
350
- allow list domain https://dbl .oisd.nl/basic/
350
+ allow list domain https://small .oisd.nl/domains
351
351
}` ,
352
352
false ,
353
353
},
@@ -518,14 +518,14 @@ func TestBlockList(t *testing.T) {
518
518
{
519
519
"block list domain http" ,
520
520
`filter {
521
- block list domain http://dbl .oisd.nl/basic/
521
+ block list domain http://small .oisd.nl/domains
522
522
}` ,
523
523
false ,
524
524
},
525
525
{
526
526
"block list domain https" ,
527
527
`filter {
528
- block list domain https://dbl .oisd.nl/basic/
528
+ block list domain https://small .oisd.nl/domains
529
529
}` ,
530
530
false ,
531
531
},
You can’t perform that action at this time.
0 commit comments