Skip to content

Commit

Permalink
update mocks
Browse files Browse the repository at this point in the history
Signed-off-by: whitneygriffith <[email protected]>
  • Loading branch information
whitneygriffith committed Nov 18, 2024
1 parent bb33eef commit 2dadef0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exporter/azuremonitorexporter/mock_transportChannel.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions exporter/azuremonitorexporter/traceexporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func TestExporterTraceDataCallbackSingleSpanNoEnvelope(t *testing.T) {
func getMockTransportChannel() *mockTransportChannel {
transportChannelMock := mockTransportChannel{}
transportChannelMock.On("Send", mock.Anything)
transportChannelMock.On("Flush", mock.Anything)
return &transportChannelMock
}

Expand Down

0 comments on commit 2dadef0

Please sign in to comment.