Skip to content

Commit 78ce003

Browse files
remove
1 parent 7b6f656 commit 78ce003

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

service/src/intTest/java/uk/nhs/adaptors/gp2gp/ehr/SendAcknowledgementComponentTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
55
import static org.mockito.ArgumentMatchers.any;
66
import static org.mockito.Mockito.doThrow;
7-
import static org.mockito.Mockito.lenient;
87
import static org.mockito.Mockito.verify;
98
import static org.mockito.Mockito.when;
109

@@ -83,7 +82,7 @@ public class SendAcknowledgementComponentTest {
8382
@BeforeEach
8483
public void setUp() {
8584
when(randomIdGeneratorService.createNewId()).thenReturn(GENERATED_RANDOM_ID);
86-
lenient().when(timestampService.now()).thenReturn(Instant.parse(DATE));
85+
when(timestampService.now()).thenReturn(Instant.parse(DATE));
8786

8887
ehrExtractStatus = EhrExtractStatusTestUtils.prepareEhrExtractStatus();
8988
ehrExtractStatusRepository.save(ehrExtractStatus);

0 commit comments

Comments
 (0)