Add Unit Test Cases - #192
vanitha1822 wants to merge 5 commits into
Quality Gate passed
Annotations
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.util.List'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hMWznKcUKZO7oEd&open=AaBr5hMWznKcUKZO7oEd&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hLqznKcUKZO7oEV&open=AaBr5hLqznKcUKZO7oEV&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hMqznKcUKZO7oEj&open=AaBr5hMqznKcUKZO7oEj&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'org.json.JSONException', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hLVznKcUKZO7oEN&open=AaBr5hLVznKcUKZO7oEN&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.junit.jupiter.api.Assertions.assertFalse'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hL2znKcUKZO7oEY&open=AaBr5hL2znKcUKZO7oEY&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'co.elastic.clients.elasticsearch.indices.DeleteIndexRequest'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hM_znKcUKZO7oEl&open=AaBr5hM_znKcUKZO7oEl&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hO2znKcUKZO7oFA&open=AaBr5hO2znKcUKZO7oFA&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hLqznKcUKZO7oEW&open=AaBr5hLqznKcUKZO7oEW&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'org.json.JSONException', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hLVznKcUKZO7oEL&open=AaBr5hLVznKcUKZO7oEL&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Add at least one assertion to this test case.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hK_znKcUKZO7oEE&open=AaBr5hK_znKcUKZO7oEE&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hNyznKcUKZO7oEx&open=AaBr5hNyznKcUKZO7oEx&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Move the conditional expression inside this operation.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hN_znKcUKZO7oEy&open=AaBr5hN_znKcUKZO7oEy&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'org.json.JSONException', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hLVznKcUKZO7oEJ&open=AaBr5hLVznKcUKZO7oEJ&pullRequest=192
Check failure on line 75 in src/test/java/com/iemr/common/identity/utils/JsonHelpersTest.java
sonarqubecloud / SonarCloud Code Analysis
Add at least one assertion to this test case.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hMgznKcUKZO7oEf&open=AaBr5hMgznKcUKZO7oEf&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hNLznKcUKZO7oEn&open=AaBr5hNLznKcUKZO7oEn&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'org.json.JSONException', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hLVznKcUKZO7oER&open=AaBr5hLVznKcUKZO7oER&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.ArgumentMatchers.any'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hLeznKcUKZO7oEU&open=AaBr5hLeznKcUKZO7oEU&pullRequest=192
Check warning on line 96 in src/test/java/com/iemr/common/identity/dto/BeneficiaryOrderingTest.java
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hPVznKcUKZO7oFH&open=AaBr5hPVznKcUKZO7oFH&pullRequest=192
Check warning on line 93 in src/test/java/com/iemr/common/identity/utils/redis/RedisStorageTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this and every subsequent useless "eq(...)" invocation; pass the values directly.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hLKznKcUKZO7oEF&open=AaBr5hLKznKcUKZO7oEF&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.junit.jupiter.api.Assertions.assertSame'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hOLznKcUKZO7oE1&open=AaBr5hOLznKcUKZO7oE1&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.ArgumentMatchers.anyString'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hOVznKcUKZO7oE2&open=AaBr5hOVznKcUKZO7oE2&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Use a static import for "doThrow".
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hN_znKcUKZO7oE0&open=AaBr5hN_znKcUKZO7oE0&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.junit.jupiter.params.provider.ValueSource'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hLVznKcUKZO7oET&open=AaBr5hLVznKcUKZO7oET&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.ArgumentMatchers.anyLong'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hMWznKcUKZO7oEc&open=AaBr5hMWznKcUKZO7oEc&pullRequest=192
sonarqubecloud / SonarCloud Code Analysis
Remove this and every subsequent useless "eq(...)" invocation; pass the values directly.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Identity-API&issues=AaBr5hLKznKcUKZO7oEG&open=AaBr5hLKznKcUKZO7oEG&pullRequest=192