File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
service/src/intTest/java/uk/nhs/adaptors/gp2gp/ehr Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -357,19 +357,6 @@ public void When_ExtractCoreThrowsMhsServerErrorException_Expect_ExceptionThrown
357357 assertThat (ehrExtractStatusUpdated .getEhrExtractCore ()).isNull ();
358358 }
359359
360- @ Test
361- public void When_EhrExtractMapperFailsWithEhrValidationException_Expect_ExceptionThrownAndDbNotUpdated () {
362- doThrow (EhrValidationException .class )
363- .when (ehrDocumentMapper ).generateMhsPayload (any (), anyString (), anyString (), anyString ());
364-
365- assertThatExceptionOfType (EhrValidationException .class )
366- .isThrownBy (() -> sendEhrExtractCoreTaskExecutor .execute (sendEhrExtractCoreTaskDefinition ));
367-
368- var ehrExtractStatusUpdated = reloadEhrStatus ();
369-
370- assertThat (ehrExtractStatusUpdated .getEhrExtractCore ()).isNull ();
371-
372- }
373360
374361 @ BeforeEach
375362 public void prepareCommonStubbing () {
You can’t perform that action at this time.
0 commit comments