Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
directionless committed Nov 7, 2023
1 parent 0358aad commit 19c703b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ee/control/consumers/flareconsumer/flareconsumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package flareconsumer
import (
"bytes"
"io"
"log/slog"
"testing"

"github.com/kolide/launcher/ee/control/consumers/flareconsumer/mocks"
Expand Down Expand Up @@ -35,6 +36,7 @@ func TestFlareConsumer(t *testing.T) {
t.Parallel()

mockSack := knapsackMock.NewKnapsack(t)
mockSack.On("Slogger").Return(slog.New(slog.NewJSONHandler(io.Discard, nil))).Maybe()
f := New(mockSack)
f.flarer = tt.flarer(t)
f.newFlareStream = func(note, uploadRequestURL string) (io.WriteCloser, error) {
Expand Down

0 comments on commit 19c703b

Please sign in to comment.