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:
Robert Zaremba
2021-05-25 09:18:59 +00:00
committed by GitHub
co-authored by Alessio Treglia Marko
parent 8669f0b4b9
commit 8c1fe4b166
13 changed files with 638 additions and 605 deletions
+1
View File
@@ -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