Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Nov 19, 2024
1 parent e8d50ba commit 06123ec
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/storage/fs/posix/testhelpers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
"path/filepath"

"github.com/google/uuid"
"github.com/rs/zerolog"
"github.com/stretchr/testify/mock"
"google.golang.org/grpc"

Expand Down Expand Up @@ -177,12 +178,14 @@ func NewTestEnv(config map[string]interface{}) (*TestEnv, error) {
},
)

logger := zerolog.New(os.Stderr).With().Logger()

bs := &treemocks.Blobstore{}
tree, err := tree.New(lu, bs, um, &trashbin.Trashbin{}, o, nil, store.Create(), nil)
tree, err := tree.New(lu, bs, um, &trashbin.Trashbin{}, o, nil, store.Create(), &logger)
if err != nil {
return nil, err
}
tb, err := trashbin.New(o, lu, nil)
tb, err := trashbin.New(o, lu, &logger)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 06123ec

Please sign in to comment.