Skip to content

Commit

Permalink
fix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Dec 12, 2023
1 parent 70f4b6a commit 9bfef6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/grpc/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func newTestServer(t *testing.T, mockValidator bool) *grpc.Server {
if mockValidator {
mockVal := core_mock.NewMockChunkValidator()
mockVal.On("ValidateBlob", mock.Anything, mock.Anything).Return(nil)
mockVal.On("ValidateBatch", mock.Anything, mock.Anything).Return(nil)
mockVal.On("ValidateBatch", mock.Anything, mock.Anything, mock.Anything).Return(nil)
val = mockVal
} else {

Expand Down

0 comments on commit 9bfef6f

Please sign in to comment.