From 68975dc2d70f46bcae3c14a0750123f012dec7ea Mon Sep 17 00:00:00 2001 From: Mark Payne Date: Tue, 26 Jan 2016 09:04:13 -0500 Subject: [PATCH] NIFI-1356: Fixed typo in unit test that caused it to look for Shapes_Header.csv.avro instead of Shapes_header.csv.avro (i.e., case of h in Header) --- .../org/apache/nifi/processors/kite/TestInferAvroSchema.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nifi-nar-bundles/nifi-kite-bundle/nifi-kite-processors/src/test/java/org/apache/nifi/processors/kite/TestInferAvroSchema.java b/nifi-nar-bundles/nifi-kite-bundle/nifi-kite-processors/src/test/java/org/apache/nifi/processors/kite/TestInferAvroSchema.java index 3e8e70202b..08185f64ad 100644 --- a/nifi-nar-bundles/nifi-kite-bundle/nifi-kite-processors/src/test/java/org/apache/nifi/processors/kite/TestInferAvroSchema.java +++ b/nifi-nar-bundles/nifi-kite-bundle/nifi-kite-processors/src/test/java/org/apache/nifi/processors/kite/TestInferAvroSchema.java @@ -74,7 +74,7 @@ public class TestInferAvroSchema { runner.assertTransferCount(InferAvroSchema.REL_SUCCESS, 1); MockFlowFile flowFile = runner.getFlowFilesForRelationship(InferAvroSchema.REL_SUCCESS).get(0); - flowFile.assertContentEquals(new File("src/test/resources/Shapes_Header.csv.avro").toPath()); + flowFile.assertContentEquals(new File("src/test/resources/Shapes_header.csv.avro").toPath()); flowFile.assertAttributeEquals(CoreAttributes.MIME_TYPE.key(), "application/avro-binary"); } @@ -130,7 +130,7 @@ public class TestInferAvroSchema { runner.assertTransferCount(InferAvroSchema.REL_SUCCESS, 1); MockFlowFile data = runner.getFlowFilesForRelationship(InferAvroSchema.REL_SUCCESS).get(0); - data.assertContentEquals(Paths.get("src/test/resources/Shapes_Header.csv.avro")); + data.assertContentEquals(Paths.get("src/test/resources/Shapes_header.csv.avro")); data.assertAttributeEquals(CoreAttributes.MIME_TYPE.key(), "application/avro-binary"); }