Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tclemos committed Nov 5, 2023
1 parent f2647eb commit 590da1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonrpc/endpoints_eth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3587,7 +3587,7 @@ func TestNewFilter(t *testing.T) {
ExpectedError: types.NewRPCError(types.InvalidParamsErrorCode, "invalid argument 0: cannot specify both BlockHash and FromBlock/ToBlock, choose one or the other"),
SetupMocks: func(m *mocksWrapper, tc testCase) {
m.Storage.
On("NewLogFilter", mock.IsType(&websocket.Conn{}), mock.IsType(LogFilter{})).
On("NewLogFilter", mock.IsType(&atomic.Pointer[websocket.Conn]{}), mock.IsType(LogFilter{})).
Once().
Return("", ErrFilterInvalidPayload).
Once()
Expand Down

0 comments on commit 590da1d

Please sign in to comment.