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)

This commit is contained in:
Mark Payne 2016-01-26 09:04:13 -05:00
parent 5ded6b223b
commit 68975dc2d7
1 changed files with 2 additions and 2 deletions

View File

@ -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");
}