[
https://issues.apache.org/jira/browse/NIFI-14808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18011484#comment-18011484
]
ASF subversion and git services commented on NIFI-14808:
--------------------------------------------------------
Commit f5d42c36ca97a06c1dac6d853752f63aa812e6b6 in nifi's branch
refs/heads/main from kubaugust
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f5d42c36ca ]
NIFI-14808 Added MockParameterLookup to mock library for providing Parameters
(#10159)
Signed-off-by: David Handermann <[email protected]>
> MockValidationContext should be able to store custom parameters
> ---------------------------------------------------------------
>
> Key: NIFI-14808
> URL: https://issues.apache.org/jira/browse/NIFI-14808
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Jakub Augustyniak
> Assignee: Jakub Augustyniak
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Currently, {{MockValidationContext}} is always using
> {{ParameterLookup.EMPTY}} value when returning an instance of
> {{{}ExpressionLanguageCompiler{}}}. This makes impossible to properly unit
> test referenced parameters as a value for looked up key is always an empty
> string.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)