Skip to content

Commit

Permalink
ARCO-202: Removing unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kameshraj23 committed Nov 5, 2024
1 parent 12c73f3 commit e78553b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions internal/callbacker/sender_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,3 @@ func TestCallbackSender_Send_WithRetries(t *testing.T) {
// Then
assert.True(t, ok)
}

var (
once sync.Once
testSender *callbacker.CallbackSender
)

func getTestSender(t *testing.T) *callbacker.CallbackSender {
var err error
once.Do(func() {
logger := slog.New(slog.NewTextHandler(new(bytes.Buffer), nil))
testSender, err = callbacker.NewSender(http.DefaultClient, logger)
})
require.NoError(t, err)
return testSender
}

0 comments on commit e78553b

Please sign in to comment.