Skip to content

Commit

Permalink
Changes in test class
Browse files Browse the repository at this point in the history
Signed-off-by: Neha Farheen <[email protected]>
  • Loading branch information
Neha Farheen committed Mar 14, 2024
1 parent fe417ff commit e2f0ac1
Showing 1 changed file with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
import org.springframework.validation.beanvalidation.SpringValidatorAdapter;
import org.springframework.web.context.WebApplicationContext;

import com.fasterxml.jackson.databind.ObjectMapper;

import io.mosip.authentication.common.service.config.IDAMappingConfig;
import io.mosip.authentication.common.service.helper.IdInfoHelper;
import io.mosip.authentication.common.service.impl.match.DemoMatchType;
import io.mosip.authentication.common.service.integration.MasterDataManager;
Expand All @@ -39,6 +42,7 @@
import io.mosip.authentication.core.indauth.dto.IdentityInfoDTO;
import io.mosip.authentication.core.indauth.dto.EkycAuthRequestDTO;
import io.mosip.authentication.core.indauth.dto.RequestDTO;
import io.mosip.authentication.core.spi.indauth.match.IdInfoFetcher;
import io.mosip.kernel.logger.logback.appender.RollingFileAppender;
import io.mosip.kernel.pinvalidator.impl.PinValidatorImpl;

Expand All @@ -61,7 +65,8 @@ public class KycAuthRequestValidatorTest {

@InjectMocks
RollingFileAppender appender;



@InjectMocks
KycAuthRequestValidator KycAuthRequestValidator;

Expand All @@ -73,12 +78,21 @@ public class KycAuthRequestValidatorTest {

@Mock
PinValidatorImpl pinValidator;

@Mock
private ObjectMapper objectMapper;

@Autowired
EnvUtil env;

@Mock
private MasterDataManager masterDataManager;

@Mock
private IDAMappingConfig idMappingConfig;

@Mock
private IdInfoFetcher idInfoFetcher;

@Before
public void before() {
Expand Down

0 comments on commit e2f0ac1

Please sign in to comment.