Skip to content

Commit

Permalink
[ES-1613] Reviewed comments
Browse files Browse the repository at this point in the history
Signed-off-by: Venkata Saidurga Polamraju <[email protected]>
  • Loading branch information
pvsaidurga committed Oct 9, 2024
1 parent bf9f095 commit 0ed2990
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ public class MockAuthenticationServiceTest {
@Mock
KeymanagerService keymanagerService;

@Mock
ObjectMapper objectMapper;

/*@Test
public void doVerifiedKycExchange_withValidDetails_thenPass() throws KycExchangeException {
ReflectionTestUtils.setField(mockAuthenticationService, "kycExchangeUrl", "http://localhost:8080/kyc/exchange");
Expand Down Expand Up @@ -355,7 +352,10 @@ public void doKycAuth_withValidDetails_thenPass() throws KycAuthException {

@Test
public void doVerifiedKycExchange_withValidDetails_thenPass () throws Exception {
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.registerModule(new JavaTimeModule());
ReflectionTestUtils.setField(mockAuthenticationService, "kycExchangeV2Url", "http://localhost:8080/kyc/exchange");
ReflectionTestUtils.setField(mockAuthenticationService, "objectMapper", objectMapper);
String relyingPartyId = "testRelyingPartyId";
String clientId = "testClientId";

Expand Down

0 comments on commit 0ed2990

Please sign in to comment.