You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/03/23 08:57:00 UTC

[jira] [Commented] (NIFI-11325) Upgrade Mockito to 4.11.0

    [ https://issues.apache.org/jira/browse/NIFI-11325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703985#comment-17703985 ] 

ASF subversion and git services commented on NIFI-11325:
--------------------------------------------------------

Commit 8154fcce49d44879f8c2ca65972cc35e3539331b in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=8154fcce49 ]

NIFI-11325 Upgraded Mockito from 3.12.4 to 4.11.0

- Replaced deprecated Matchers references with ArgumentMatchers
- Removed unnecessary Mockito versions for Registry
- Refactored test configuration to Java for mocking

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #7071.


> Upgrade Mockito to 4.11.0
> -------------------------
>
>                 Key: NIFI-11325
>                 URL: https://issues.apache.org/jira/browse/NIFI-11325
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>              Labels: dependency-upgrade
>             Fix For: 1.latest, 2.latest
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Mockito [4.0.0|https://github.com/mockito/mockito/releases/tag/v4.0.0] removes several deprecated components and provides a baseline of support for Java 8.
> Mockito should be upgraded from version 3 to the latest version 4 on both main and support branches, and then the main branch can be evaluated for upgrade to Mockito 5, which requires Java 11 as the minimum version.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)