Skip to content

Commit

Permalink
cmd/server: remove TestDownload__manualRefreshPath from parallel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Nov 13, 2023
1 parent 766a672 commit 26e9851
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions cmd/server/download_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ func TestDownload__manualRefreshPath(t *testing.T) {
if testing.Short() {
return
}

t.Setenv("WITH_UK_SANCTIONS_LIST", "false")
t.Parallel()

check := func(t *testing.T, repo *sqliteDownloadRepository) {
searcher := newSearcher(log.NewNopLogger(), noLogPipeliner, 1)
Expand Down
3 changes: 1 addition & 2 deletions cmd/server/pipeline_normalize.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ var (
punctuationReplacer = strings.NewReplacer(".", "", ",", "", "-", " ", " ", " ")
)

type normalizeStep struct {
}
type normalizeStep struct{}

func (s *normalizeStep) apply(in *Name) error {
in.Processed = precompute(in.Processed)
Expand Down

0 comments on commit 26e9851

Please sign in to comment.