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

Bump mockito-bom from 4.7.0 to 4.8.0 #27833

Merged
merged 1 commit into from Sep 9, 2022
Merged

Conversation

yrodiere
Copy link
Member

@yrodiere yrodiere commented Sep 9, 2022

Supersedes #27819

The bad news is that, clearly, PanacheMock#mockMethod was (and still is) a disaster waiting to happen: it relies on Mockito's internals... The only solution I had to make it work exactly the same way as before was to break backwards compatibility. People wanting to stay on Mockito 4.7 will no longer be able to use PanacheMock#mockMethod. And it's still relying on internals, so we could have the same problem again anytime.

The good news is that PanacheMock#mockMethod is not documented as far as I can tell. It's not even tested. So I think we should be able to remove it... Maybe I should open a dedicated PR for that?

/cc @gsmet

Bumps [mockito-bom](https://github.com/mockito/mockito) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v4.7.0...v4.8.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@quarkus-bot quarkus-bot bot added area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/panache area/platform Issues related to definition and interaction with Quarkus Platform labels Sep 9, 2022
@yrodiere yrodiere requested a review from gsmet September 9, 2022 11:10
@gsmet
Copy link
Member

gsmet commented Sep 9, 2022

@FroMage @loicmathieu WDYT about PanacheMock#mockMethod? Is it something users are supposed to use?

@loicmathieu
Copy link
Contributor

Reading the PanacheMock documentation (here and here) this method didn't seems to be something needed. However only @FroMage can validate this.

@gastaldi gastaldi added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Sep 9, 2022
@gsmet gsmet merged commit 5bcface into quarkusio:main Sep 9, 2022
@quarkus-bot quarkus-bot bot added this to the 2.13 - main milestone Sep 9, 2022
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Sep 9, 2022
@yrodiere yrodiere deleted the mockito-4.8 branch October 28, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/panache area/platform Issues related to definition and interaction with Quarkus Platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants