-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[in_app_pur]: Bump org.mockito:mockito-core from 4.7.0 to 5.3.1 in /packages/in_app_purchase/in_app_purchase_android/android #3805
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
Conversation
0f11fcc to
ae67de8
Compare
|
@dependabot rebase |
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 4.7.0 to 5.3.1. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](mockito/mockito@v4.7.0...v5.3.1) --- updated-dependencies: - dependency-name: org.mockito:mockito-core dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
ae67de8 to
4a8dcfb
Compare
|
@gmackall It looks like this update may be breaking tests? |
Yes, I took a brief look and wasn't sure exactly why. Will investigate and fix the tests this afternoon! |
|
It looks like these two tests (one, two) break because they are using an ArgumentCaptor for the BillingResult class, and checking the arguments passed to result.success() using that ArgumentCaptor. But we translate the BillingResult into a HashMap before passing to result.success(), so the type is wrong. I'll put up a PR that contains this upgrade and the fix for that problem shortly. Interesting that it worked before, it looks like something about the ArgumentCaptor class changed recently (in the 5.0.0 notes here: https://github.com/mockito/mockito/releases), so perhaps that is why the upgrade broke it. |
|
Closing in favor of #4224 |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
… 5.3.1 (#4224) Takeover of #3805. See the comment here: #3805 (comment) This pr also removes most usages of `@SuppressWarnings("unchecked")` in `MethodCallHandlerTest.java` by using the `@Captor` annotation to create a class level `resultCaptor`.
Bumps org.mockito:mockito-core from 4.7.0 to 5.3.1.
Release notes
Sourced from org.mockito:mockito-core's releases.
... (truncated)
Commits
baf59c4Weakens visibility constraint for spy constructors (#2983)02b9634Fix NPE for handlingObject(#2976)6ffd23eAddArgumentMatchers#assertArgmethod (#2949)203132dAddwithoutAnnotationsparameter to@Mock(#2965)84a5eeeFix ClassCastException regression with parameterized types with InjectMocks (...d65bba7Bump versions.bytebuddy from 1.14.3 to 1.14.4 (#2966)600eaa0Bump com.diffplug.spotless from 6.17.0 to 6.18.0 (#2967)f9fbf50Bump org.codehaus.groovy:groovy from 3.0.16 to 3.0.17 (#2959)0b8685cBump versions.bytebuddy from 1.14.2 to 1.14.3 (#2950)5486617Correct visibility check to respect nestmates (#2948)You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)