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 Mockito do-syntax #274

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Fix Mockito do-syntax #274

merged 2 commits into from
Jul 22, 2024

Conversation

martinmladenov
Copy link
Collaborator

The current implementation was checking for Mockito do-syntax in the form doReturn(something).when(repository.find(1)), which is invalid syntax. It should instead be doReturn(something).when(repository).find(1).

@martinmladenov martinmladenov added the bug Something isn't working label Jul 22, 2024
@fm2003 fm2003 merged commit 7788b3a into main Jul 22, 2024
16 checks passed
@fm2003 fm2003 deleted the mockito-do-syntax branch July 22, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants