Skip to content
Snippets Groups Projects
Commit fa2727f2 authored by Solomon Ayalew's avatar Solomon Ayalew
Browse files

Bringing back tests

parent ef168a78
No related branches found
No related tags found
2 merge requests!491Upgrade service to spring 6 and Spring-boot 3,!490Solxget spring6 2
Pipeline #248954 passed
......@@ -35,9 +35,9 @@ import org.powermock.reflect.Whitebox;
import java.util.HashMap;
import java.util.Map;
//@RunWith(MockitoJUnitRunner.class)
@RunWith(MockitoJUnitRunner.class)
public class AwsNotificationHandlerTest {
/*
@Mock
private HttpClient httpClient;
......@@ -109,5 +109,4 @@ public class AwsNotificationHandlerTest {
HttpResponse response = notificationHandler.notifySubscriber(subscription, "testMessage", headerAttributes);
assertEquals(500, response.getResponseCode());
}
*/
}
......@@ -31,9 +31,9 @@ import com.amazonaws.services.sqs.AmazonSQS;
import io.jsonwebtoken.lang.Assert;
//@RunWith(MockitoJUnitRunner.class)
@RunWith(MockitoJUnitRunner.class)
public class AwsCognitoClientTest {
/*
private AwsCognitoClient awsCognitoClient;
@Mock
......@@ -82,5 +82,5 @@ public class AwsCognitoClientTest {
when(provider.adminSetUserPassword(any())).thenReturn(null);
awsCognitoClient.setPassword("username", "password", "user-pool-id");
assertNotNull(awsCognitoClient);
} */
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment