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

InjectMock being deprecated from Quarkus 3.2 #277

Closed
agoncal opened this issue Jul 4, 2023 · 4 comments · Fixed by #293
Closed

InjectMock being deprecated from Quarkus 3.2 #277

agoncal opened this issue Jul 4, 2023 · 4 comments · Fixed by #293
Assignees

Comments

@agoncal
Copy link
Collaborator

agoncal commented Jul 4, 2023

In FightResourceTest we have the following code:

    @InjectMock(convertScopes = true)
    @RestClient
    HeroProxy heroProxy;

The io.quarkus.test.junit.mockito.InjectMock API is deprecated from Quarkus 3.2:

Deprecated
Use io.quarkus.test.InjectMock and MockitoConfig instead.

@geoand
Copy link
Collaborator

geoand commented Sep 6, 2023

This should already be fixed by #293, no?

@agoncal
Copy link
Collaborator Author

agoncal commented Sep 6, 2023

@geoand
Copy link
Collaborator

geoand commented Sep 6, 2023

Sure yeah, I'll rebase my PR

@geoand
Copy link
Collaborator

geoand commented Sep 6, 2023

PR updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants