Skip to content

Commit 58761c9

Browse files
Spelling
1 parent e2e71dd commit 58761c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

service/src/main/java/uk/nhs/adaptors/gp2gp/ehr/mapper/EhrExtractMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public EhrExtractTemplateParameters mapBundleToEhrFhirExtractParams(
5959
ehrExtractTemplateParameters.setComponents(mappedComponents);
6060

6161
if (mappedComponents.isEmpty()) {
62-
final String message = "couldn't extract EHR Extract: empty structured access record.";
62+
final String message = "could not extract EHR Extract: empty structured access record.";
6363
LOGGER.error(message);
6464
throw new EhrValidationException(message);
6565
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void When_BundleHasNoMappableContent_Expect_EhrValidationExceptionIsThrown() {
104104
ehrExtractMapper.mapBundleToEhrFhirExtractParams(taskDef, bundle)
105105
);
106106

107-
assertThat(thrown.getMessage()).isEqualTo("couldn't extract EHR Extract: empty structured access record.");
107+
assertThat(thrown.getMessage()).isEqualTo("could not extract EHR Extract: empty structured access record.");
108108
}
109109

110110

0 commit comments

Comments
 (0)