Skip to content

Commit 13feadd

Browse files
removed lenient
1 parent d36acdf commit 13feadd

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,18 @@ class ConditionLinkSetMapperTest {
134134
@BeforeEach
135135
void setUp() {
136136
var bundleInput = ResourceTestFileUtils.getFileContent(TEST_FILES_DIRECTORY + INPUT_JSON_BUNDLE);
137+
var participantMapper = new ParticipantMapper();
137138
final Bundle bundle = new FhirParseService().parseResource(bundleInput, Bundle.class);
138139
inputBundle = new InputBundle(bundle);
139-
ConditionLinkSetMapper conditionLinkSetMapper = new ConditionLinkSetMapper
140-
(messageContext, randomIdGeneratorService, codeableConceptCdMapper, new ParticipantMapper(), confidentialityService);
140+
141+
ConditionLinkSetMapper conditionLinkSetMapper = new ConditionLinkSetMapper(
142+
messageContext,
143+
randomIdGeneratorService,
144+
codeableConceptCdMapper,
145+
participantMapper,
146+
confidentialityService
147+
);
148+
141149

142150
conditionLinkSetMapperSpy = spy(conditionLinkSetMapper);
143151

0 commit comments

Comments
 (0)