test: fix mockgen version (#9127)
* setup: update mockgen * Add expect ConsensusVersion in app_test * fix ChainAnteDecorators tests * remove types/handler.go from autogenerating mocks * adding a note * adding note Co-authored-by: Alessio Treglia <alessio@tendermint.com> Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
co-authored by
Alessio Treglia
Marko
parent
8669f0b4b9
commit
8c1fe4b166
@@ -210,6 +210,7 @@ func TestInitGenesisOnMigration(t *testing.T) {
|
||||
mockDefaultGenesis := json.RawMessage(`{"key": "value"}`)
|
||||
mockModule.EXPECT().DefaultGenesis(gomock.Eq(app.appCodec)).Times(1).Return(mockDefaultGenesis)
|
||||
mockModule.EXPECT().InitGenesis(gomock.Eq(ctx), gomock.Eq(app.appCodec), gomock.Eq(mockDefaultGenesis)).Times(1).Return(nil)
|
||||
mockModule.EXPECT().ConsensusVersion().Times(1).Return(uint64(0))
|
||||
|
||||
app.mm.Modules["mock"] = mockModule
|
||||
|
||||
|
||||
Reference in New Issue
Block a user