exceptionfactory commented on code in PR #11012:
URL: https://github.com/apache/nifi/pull/11012#discussion_r3011609977


##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestValidateJson.java:
##########
@@ -265,8 +295,15 @@ private void assertValidationErrors(Relationship 
relationship, boolean expected)
 
     private static Stream<Arguments> customValidateArgs() {
         return Stream.of(
-                
Arguments.of(ValidateJson.JsonSchemaStrategy.SCHEMA_NAME_PROPERTY, "requires 
that the JSON Schema Registry property be set"),
-                
Arguments.of(ValidateJson.JsonSchemaStrategy.SCHEMA_CONTENT_PROPERTY, "requires 
that the JSON Schema property be set")
+                Arguments.argumentSet("Require JSON Schema Registry property 
to be set", ValidateJson.JsonSchemaStrategy.SCHEMA_NAME_PROPERTY),
+                Arguments.argumentSet("Require JSON Schema property to be 
set", ValidateJson.JsonSchemaStrategy.SCHEMA_CONTENT_PROPERTY)
+        );
+    }
+
+    private static Stream<Arguments> multilineJsonArgs() {
+        return Stream.of(
+                
Arguments.argumentSet(ValidateJson.InputFormat.FLOW_FILE.getDisplayName(), 
ValidateJson.InputFormat.FLOW_FILE.getValue(), true),

Review Comment:
   Thanks for clarifying.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to