test: add BeginBlock extension interface to module mocks (port #23442) (#23443)

Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Alex | Interchain Labs <alex@skip.money>
This commit is contained in:
mergify[bot]
2025-01-17 19:25:06 +00:00
committed by GitHub
co-authored by Matt Kocubinski Julien Robert Alex | Interchain Labs
parent d7d5b15d38
commit 7539072e72
2 changed files with 15 additions and 0 deletions
+14
View File
@@ -204,6 +204,20 @@ func (m *MockAppModuleWithAllExtensionsABCI) EXPECT() *MockAppModuleWithAllExten
return m.recorder
}
// BeginBlock mocks base method.
func (m *MockAppModuleWithAllExtensionsABCI) BeginBlock(arg0 context.Context) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "BeginBlock", arg0)
ret0, _ := ret[0].(error)
return ret0
}
// BeginBlock indicates an expected call of BeginBlock.
func (mr *MockAppModuleWithAllExtensionsABCIMockRecorder) BeginBlock(arg0 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BeginBlock", reflect.TypeOf((*MockAppModuleWithAllExtensionsABCI)(nil).BeginBlock), arg0)
}
// ConsensusVersion mocks base method.
func (m *MockAppModuleWithAllExtensionsABCI) ConsensusVersion() uint64 {
m.ctrl.T.Helper()