chore(deps-dev): Bump org.mockito:mockito-core from 4.11.0 to 5.21.0#1183
chore(deps-dev): Bump org.mockito:mockito-core from 4.11.0 to 5.21.0#1183lahirumaramba wants to merge 2 commits intomainfrom
Conversation
Bumps `mockito-core` from 4.11.0 to 5.21.0. Updates `maven-compiler-plugin` configuration to use Java 11 for test compilation, as Mockito 5 requires Java 11+. Replaces deprecated `MockitoAnnotations.initMocks` with `MockitoAnnotations.openMocks` in `MockitoTestRule.java` and ensures the returned `AutoCloseable` is closed. Co-authored-by: lahirumaramba <55609+lahirumaramba@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Bumps `mockito-core` from 4.11.0 to 5.21.0 on JDK 11+. Keeps `mockito-core` at 4.11.0 for JDK 8 builds to maintain compatibility. Uses a Maven profile `mockito-5-jdk-11` to conditionally apply the upgrade and set test compilation target to 11 when running on JDK 11 or higher. Replaces deprecated `MockitoAnnotations.initMocks` with `MockitoAnnotations.openMocks` in `MockitoTestRule.java` and ensures the returned `AutoCloseable` is closed, which is compatible with both Mockito 4 and 5. Co-authored-by: lahirumaramba <55609+lahirumaramba@users.noreply.github.com>
Bumps
mockito-corefrom 4.11.0 to 5.21.0.Updates
maven-compiler-pluginconfiguration to use Java 11 for test compilation, as Mockito 5 requires Java 11+.Replaces deprecated
MockitoAnnotations.initMockswithMockitoAnnotations.openMocksinMockitoTestRule.javaand ensures the returnedAutoCloseableis closed.PR created automatically by Jules for task 4226669932721722342 started by @lahirumaramba