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)


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/68975dc2
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/68975dc2
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/68975dc2

Branch: refs/heads/master
Commit: 68975dc2d70f46bcae3c14a0750123f012dec7ea
Parents: 5ded6b2
Author: Mark Payne <[email protected]>
Authored: Tue Jan 26 09:04:13 2016 -0500
Committer: Mark Payne <[email protected]>
Committed: Tue Jan 26 09:04:13 2016 -0500

----------------------------------------------------------------------
 .../org/apache/nifi/processors/kite/TestInferAvroSchema.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/68975dc2/nifi-nar-bundles/nifi-kite-bundle/nifi-kite-processors/src/test/java/org/apache/nifi/processors/kite/TestInferAvroSchema.java
----------------------------------------------------------------------
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 3e8e702..08185f6 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");
     }
 

Reply via email to