Skip to content

Commit c622cc3

Browse files
NIAD-3304: Add CodeSystemUtil for mapping between code systems
Refactor test string to align with use case.
1 parent 4993fea commit c622cc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service/src/test/java/uk/nhs/adaptors/gp2gp/utils/CodeSystemUtilTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ void When_FhirCodeSystemIsKnown_Expect_CorrectHl7Code(String fhirCodeSystem, Str
3131

3232
@Test
3333
void When_FhirCodeSystemIsUnknown_Expect_FhirCodeSystemIsProvided() {
34-
var hl7Code = CodeSystemsUtil.getHl7code("1.2.3.4.5.6");
34+
var hl7Code = CodeSystemsUtil.getHl7code("https://unknown.code/system");
3535

36-
assertThat(hl7Code).isEqualTo("1.2.3.4.5.6");
36+
assertThat(hl7Code).isEqualTo("https://unknown.code/system");
3737
}
3838
}

0 commit comments

Comments
 (0)