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 2024/05/30 21:06:00 UTC
[jira] [Commented] (NIFI-13321) Fix mocking of child components in unit tests
[ https://issues.apache.org/jira/browse/NIFI-13321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17850863#comment-17850863 ]
ASF subversion and git services commented on NIFI-13321:
--------------------------------------------------------
Commit 983f209083983498d5a676e68cc53d24e8f005d3 in nifi's branch refs/heads/main from Matt Gilman
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=983f209083 ]
NIFI-13321: (#8901)
- Fixing the mocking of child components in unit tests.
- Removing any provided dependency that is no longer needed.
This closes #8901
> Fix mocking of child components in unit tests
> ---------------------------------------------
>
> Key: NIFI-13321
> URL: https://issues.apache.org/jira/browse/NIFI-13321
> Project: Apache NiFi
> Issue Type: Sub-task
> Components: Core UI
> Reporter: Matt Gilman
> Assignee: Matt Gilman
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The existing mocking of child components in unit tests was incorrect and would often require the test bed to provide dependencies of the child component. This should be fixed so that unit tests can focus on just the component in question and not anything functionality of a child component.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)