Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(tests): Add post decorator mocks and tests #13945

Conversation

MalteHerrmann
Copy link
Contributor

@MalteHerrmann MalteHerrmann commented Nov 21, 2022

This PR adds a test for the ChainPostHandler method introduced in #13940.

For this purpose, the PostDecorator interface has been mocked using mockgen (from the gomock package) and then manually adjusted to match the implementation for the AnteDecorator.

@MalteHerrmann MalteHerrmann changed the title add post decorator mocks and tests (tests): Add post decorator mocks and tests Nov 21, 2022
@MalteHerrmann MalteHerrmann marked this pull request as ready for review November 21, 2022 13:28
@MalteHerrmann MalteHerrmann requested a review from a team as a code owner November 21, 2022 13:28
@fedekunze fedekunze merged commit 5145420 into cosmos:fedekunze/update-posthandlers Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants