chore: bump org.mockito:mockito-android from 5.8.0 to 5.23.0 in /android#317
chore: bump org.mockito:mockito-android from 5.8.0 to 5.23.0 in /android#317dependabot[bot] wants to merge 1 commit intomainfrom
Conversation
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.8.0 to 5.23.0. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](mockito/mockito@v5.8.0...v5.23.0) --- updated-dependencies: - dependency-name: org.mockito:mockito-android dependency-version: 5.23.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
PR SummaryMedium Risk Overview Reviewed by Cursor Bugbot for commit b9a3e70. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b9a3e70. Configure here.
| testImplementation 'org.mockito:mockito-core:5.8.0' | ||
| androidTestImplementation 'org.mockito:mockito-android:5.8.0' | ||
| testImplementation 'org.mockito:mockito-core:5.23.0' | ||
| androidTestImplementation 'org.mockito:mockito-android:5.23.0' |
There was a problem hiding this comment.
Mockito-android 5.23.0 requires API 28 but minSdk is 21
Medium Severity
The mockito-android:5.23.0 release notes explicitly state that instrumented tests now require a device or emulator running API 28+ (Android P). The project's minSdkVersion is 21, meaning any instrumented test runs on devices or emulators using API 21–27 will fail at runtime. This could silently break CI pipelines or local test workflows that target older API levels.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit b9a3e70. Configure here.


Bumps org.mockito:mockito-android from 5.8.0 to 5.23.0.
Release notes
Sourced from org.mockito:mockito-android's releases.
... (truncated)
Commits
a231205Fix StackOverflowError with AbstractList after using mockSingleton (#3790)f6a91a6Replace mockito-android mock maker implementation with dexmaker-mockito-inlin...aa2298afix: make spotless happya6729d6chore: update BDDMockito with jspecify annotationbb83c92chore: move jspecify as a compile only dependency47a4695chore: add jspecify with minimal change. Fixes #350325f1395Add core API to enable Kotlin singleton mocking (#3762)ef9ee55Avoids mocking private static methods, as well as package-private static meth...d16fcfcBump graalvm/setup-graalvm from 1.4.4 to 1.4.5 (#3780)27eb8a3ClarifyRETURNS_MOCKSbehavior with sealed abstract enums (Java 15+) (#3773)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@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)