Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ The 111 adaptor enables GP Practices to receive [NHS 111 Report messages](https:

You can receive and route a “post event message” to their GP when NHS 111 requests:

* an ambulance call out
* a referral to a local emergency department
* a referral to an Out Of Hours service
* a referral to their GP
* An ambulance call out
* A referral to a local emergency department
* A referral to an Out Of Hours service
* A referral to their GP

The NHS 111 Report adaptor can receive messages from the NHS 111 service and post them to the mailbox of the relevant GP practice.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ private void postReportValidBody(String itkReportRequestPath, String expectedJso
.asString();

Map<ResponseElement, String> responseElementsMap = responseParserUtil.parseSuccessfulResponseXml(responseBody);
assertThat(responseElementsMap.get(ACTION)).isEqualTo(EXPECTED_ACTION);
assertThat(responseElementsMap.get(ACTION)).isEqualTo("BROKEN");
assertThat(responseElementsMap.get(BODY)).isEqualTo(String.format(EXPECTED_BODY, messageIdValue));

Message jmsMessage = jmsTemplate.receive(destination);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void postReportInvalidXmlRequest() {
String invalidRequest = "<invalid>";

ResponseEntity<String> response = reportController.postReport(invalidRequest);
assertThat(response.getStatusCode()).isEqualTo(INTERNAL_SERVER_ERROR);
assertThat(response.getStatusCode()).isEqualTo("BROKEN");
}

@Test
Expand Down
Loading