Skip to content

Commit

Permalink
[Fix_#3383] Setting metadata when using binary (apache#1974)
Browse files Browse the repository at this point in the history
Since quarkus-http now uses binary as default the test condition for
knative message has changed
  • Loading branch information
fjtirado authored and rgdoliveira committed Feb 5, 2024
1 parent 57c440b commit fe2095b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ protected void verifyNoDecisionEventWasProduced(String processInstanceId) throws
.with().pollInterval(1, SECONDS)
.untilAsserted(() -> sink.verify(1,
postRequestedFor(urlEqualTo("/"))
.withRequestBody(matchingJsonPath("kogitoprocinstanceid", equalTo(processInstanceId)))
.withRequestBody(matchingJsonPath("type", equalTo(PROCESS_RESULT_EVENT_TYPE)))
.withRequestBody(matchingJsonPath("data.decision", equalTo(DECISION_NO_DECISION)))));
.withHeader("ce-kogitoprocinstanceid", equalTo(processInstanceId))
.withHeader("ce-type", equalTo(PROCESS_RESULT_EVENT_TYPE))
.withRequestBody(matchingJsonPath("decision", equalTo(DECISION_NO_DECISION)))));

}

Expand Down

0 comments on commit fe2095b

Please sign in to comment.