mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-02-20 11:44:09 +08:00
Pull request 2333: fix-test
Some checks failed
build / test (macOS-latest) (push) Has been cancelled
build / test (ubuntu-latest) (push) Has been cancelled
build / test (windows-latest) (push) Has been cancelled
build / build-release (push) Has been cancelled
build / notify (push) Has been cancelled
lint / go-lint (push) Has been cancelled
lint / eslint (push) Has been cancelled
lint / notify (push) Has been cancelled
Some checks failed
build / test (macOS-latest) (push) Has been cancelled
build / test (ubuntu-latest) (push) Has been cancelled
build / test (windows-latest) (push) Has been cancelled
build / build-release (push) Has been cancelled
build / notify (push) Has been cancelled
lint / go-lint (push) Has been cancelled
lint / eslint (push) Has been cancelled
lint / notify (push) Has been cancelled
Merge in DNS/adguard-home from fix-test to master Squashed commit of the following: commit cddaed40273e81677eec33e2ededfd4556c5b99f Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Mon Jan 20 18:33:43 2025 +0300 filtering: fix test
This commit is contained in:
parent
dfa28af907
commit
6633ad6304
@ -18,7 +18,6 @@ func TestFilter_Refresh(t *testing.T) {
|
|||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
cacheDir := t.TempDir()
|
cacheDir := t.TempDir()
|
||||||
uid := rulelist.MustNewUID()
|
|
||||||
|
|
||||||
const fltData = testRuleTextTitle + testRuleTextBlocked
|
const fltData = testRuleTextTitle + testRuleTextBlocked
|
||||||
fileURL, srvURL := newFilterLocations(t, cacheDir, fltData, fltData)
|
fileURL, srvURL := newFilterLocations(t, cacheDir, fltData, fltData)
|
||||||
@ -54,6 +53,7 @@ func TestFilter_Refresh(t *testing.T) {
|
|||||||
t.Run(tc.name, func(t *testing.T) {
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
|
uid := rulelist.MustNewUID()
|
||||||
f, err := rulelist.NewFilter(&rulelist.FilterConfig{
|
f, err := rulelist.NewFilter(&rulelist.FilterConfig{
|
||||||
URL: tc.url,
|
URL: tc.url,
|
||||||
Name: tc.name,
|
Name: tc.name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user