File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
service/src/intTest/java/uk/nhs/adaptors/gp2gp/ehr Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 44import static org .assertj .core .api .Assertions .assertThatExceptionOfType ;
55import static org .mockito .ArgumentMatchers .any ;
66import static org .mockito .Mockito .doThrow ;
7- import static org .mockito .Mockito .lenient ;
87import static org .mockito .Mockito .verify ;
98import 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 );
You can’t perform that action at this time.
0 commit comments