Daniel Stieglitz created NIFI-15769:
---------------------------------------

             Summary: Replace deprecated org. mockito. MockSettings lenient 
method with API suggestied strictness method
                 Key: NIFI-15769
                 URL: https://issues.apache.org/jira/browse/NIFI-15769
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Daniel Stieglitz
            Assignee: Daniel Stieglitz


The {{org. mockito. MockSettings}} {{lenient}} method has been deprecated and 
per the 
[javadocs|https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/MockSettings.html]
 the strictness method should be used instead.

 

 
{code:java}
2026-03-29T11:03:44.4094900Z [WARNING] 
/home/runner/work/nifi/nifi/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/test/java/org/apache/nifi/web/connector/StandardNiFiConnectorWebContextTest.java:[107,101]
 [deprecation] lenient() in MockSettings has been deprecated{code}
 



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

Reply via email to