[jira] [Updated] (NIFI-13321) Fix mocking of child components in unit tests

2024-05-30 Thread Rob Fellows (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-13321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rob Fellows updated NIFI-13321:
---
Fix Version/s: 2.0.0-M4
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> 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
> Fix For: 2.0.0-M4
>
>  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)


[jira] [Updated] (NIFI-13321) Fix mocking of child components in unit tests

2024-05-30 Thread Matt Gilman (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-13321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Gilman updated NIFI-13321:
---
Status: Patch Available  (was: In Progress)

> 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: 10m
>  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)