Skip to content

Commit

Permalink
test: Fix mockEventsSender to implement SendEvent instead of Send due…
Browse files Browse the repository at this point in the history
… to package upgrade
  • Loading branch information
ilijamt committed Sep 19, 2023
1 parent 4bb7b71 commit 0525407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type mockEventsSender struct {
eventsProcessed []*logical.EventReceived
}

func (m *mockEventsSender) Send(ctx context.Context, eventType logical.EventType, event *logical.EventData) error {
func (m *mockEventsSender) SendEvent(ctx context.Context, eventType logical.EventType, event *logical.EventData) error {
if m == nil {
return nil
}
Expand Down

0 comments on commit 0525407

Please sign in to comment.