Skip to content

Commit 9bdd2f8

Browse files
Kickstarting new assertion
1 parent 976bdf1 commit 9bdd2f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

e2e-tests/src/test/java/uk/nhs/adaptors/gp2gp/e2e/EhrExtractTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ void When_ExtractRequestReceivedForPatientWithoutClinicalContent_Expect_ExtractS
453453
assertThatInitialRecordWasCreated(conversationId, ehrExtractStatus, NHS_NUMBER_NO_CLINICAL_CONTENT_STRUCTURE, FROM_ODS_CODE_1);
454454

455455
var error = (Document) ehrExtractStatus.get("error");
456+
assertThat(error).isNotEmpty();
456457
softly.assertThat(error.get("code")).isEqualTo(NACK_CODE_FAILED_TO_GENERATE_EHR);
457458
}
458459

0 commit comments

Comments
 (0)