go-spacemesh icon indicating copy to clipboard operation
go-spacemesh copied to clipboard

Use generated mocks over custom implemented ones where possible

Open fasmat opened this issue 2 years ago • 0 comments

Description

Currently a mix of generated and handwritten mocks is used in various tests. We should replace the handwritten mocks with generated ones.

Affected code

  • in activation
    • MockSigning: can possibly be replaced with signing/mocks.MockSigner
    • various other mocks that could be generated
  • in api/grpcserver
    • MockSigning: can possibly be replaced with signing/mocks.MockSigner
    • various other mocks that could be generated

fasmat avatar Aug 31 '22 11:08 fasmat