Github user mattyb149 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2180#discussion_r163887649
--- Diff:
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/test/java/org/apache/nifi/processors/mongodb/GetMongoTest.java
---
@@ -135,15 +135,15 @@ public void testValidators() {
// invalid projection
runner.setVariable("projection", "{a: x,y,z}");
runner.setProperty(GetMongo.QUERY, "{a: 1}");
- runner.setProperty(GetMongo.PROJECTION, "${projection}");
+ runner.setProperty(GetMongo.PROJECTION, "{a: z}");
--- End diff --
I can't immediately tell the reason for this change, since the projection
is changed from x,y,z to z. Is this on purpose?
---