Github user joewitt commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2266#discussion_r152358153
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestListenHTTP.java
---
@@ -89,7 +90,7 @@ public void testPOSTRequestsReceivedReturnCodeWithoutEL()
throws Exception {
runner.setProperty(ListenHTTP.BASE_PATH, HTTP_BASE_PATH);
runner.setProperty(ListenHTTP.RETURN_CODE, Integer.toString(204));
- testPOSTRequestsReceived(204);
+ testPOSTRequestsReceived(HttpServletResponse.SC_OK);
--- End diff --
should this have been HttpServletResponse. SC_NO_CONTENT? The line removed
had a code of 204 but this is now passing in a 200.
---