Skip to content

Commit 6362b13

Browse files
Update ObservationValueQuantityMapper test name to use checkstyle format
Add observations with valueQuantities patient to wiremock Update wiremock documentation Update spelling mistake in filename for wiremock patient and linked documentation
1 parent 8d64c02 commit 6362b13

6 files changed

Lines changed: 645 additions & 4 deletions

File tree

service/src/test/java/uk/nhs/adaptors/gp2gp/ehr/mapper/ObservationValueQuantityMapperTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public void When_MappingQuantityWithUncertaintyExtension_Expect_XmlContainsUncer
115115
}
116116

117117
@Test
118-
public void When_MappingQuantityWithNullValue_Expected_EmptyString() {
118+
public void When_MappingQuantityWithNullValue_Expect_EmptyString() {
119119
var quantity = (Quantity) new Quantity()
120120
.setSystem(UOM_SYSTEM)
121121
.setCode(CODE_CEL);

wiremock/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ Each scenario below can be retrieved by requesting the associated NHS Number spe
2121
- [BundleFromMedicus](stubs/__files/MedicusBasedOnErrorStructuredRecord.json) 9302014592
2222
- [Observation with bodySite property](stubs/__files/correctPatientStructuredRecordResponseBodySite.json) 1239577290
2323
- [Large (3Mb) structured record Bundle](stubs/__files/correctPatientStructuredRecordLargePayload.json) 9690937421
24-
- [Malformed date](stubs/__files/malformedDateStructuredRecord.json) 9690872294
24+
- [Malformed date](stubs/__files/correctObservationValueQuantitiesResponse.json) 9999123456
25+
- ["Observations with valueQuantity properties"](stubs/__files/correctPatientStructuredRecordResponseNormal.json) 9690937287
2526
- ["Normal"](stubs/__files/correctPatientStructuredRecordResponseNormal.json) 9690937287
2627

2728
#### Document scenarios
2829

2930
- [No Documents](stubs/__files/correctPatientNoDocsStructuredRecordResponse.json) 9690937294
3031
- [1 Absent Attachment](stubs/__files/correctPatientStructuredRecordResponseAbsentAttachment.json) 9690937286
3132
- [3 Absent Attachments](stubs/__files/correctPatientStructuredRecordResponse3AbsentAttachmentDocuments.json) 9690937419
32-
- [3 Attachments with 2 Absent](stubs/__files/correctPatientStructuredRecordResponse3AttachmentsWith2Absent.json) 9690939911
33+
- [3 Attachments with 2 Absent](stubs/__files/correctPatientStructuredRecordResponse3AbsentAttachmentDocuments.json) 9690939911
3334
- [With three 10Kb .doc files](stubs/__files/correctPatientStructuredRecordResponse3NormalDocuments.json) 9690937420
3435
- [With one 20Kb document](stubs/__files/correctPatientStructuredRecordResponseForLargeDocs.json) 9690937819
3536
- [With one 40Kb document](stubs/__files/correctPatientStructuredRecordResponseForLargeDocs2.json) 9690937841

wiremock/stubs/__files/TPPPatientStructuredRecortdE2EPWTP9.json renamed to wiremock/stubs/__files/TPPPatientStructuredRecordE2EPWTP9.json

File renamed without changes.

0 commit comments

Comments
 (0)