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

Fix Integration test with mock service #4

Open
amelendres opened this issue Jun 27, 2024 · 0 comments
Open

Fix Integration test with mock service #4

amelendres opened this issue Jun 27, 2024 · 0 comments

Comments

@amelendres
Copy link

amelendres commented Jun 27, 2024

If you are testing a mock service you should have the GIVEN and the VERIFY.

To fix the code I would ask to add one test case addAnExistingBeneficiary

Given an account with "A" Beneficiary
When add and existing "A" Beneficiary
Then the service response status 409 - CONFLICT

@amelendres amelendres changed the title A good example of how to cheat testing a mock service Fix Integration test with mock service Jul 1, 2024
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

No branches or pull requests

1 participant