Add Unit Test Cases - #129
vanitha1822 wants to merge 2 commits into
Quality Gate passed
Annotations
sonarqubecloud / SonarCloud Code Analysis
Use assertNotNull instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcOkCLWzfLSDudlG&open=AaDoGcOkCLWzfLSDudlG&pullRequest=129
Check warning on line 136 in src/test/java/com/iemr/inventory/utils/redis/RedisStorageTest.java
sonarqubecloud / SonarCloud Code Analysis
Replace these 3 tests with a single Parameterized one.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcJVCLWzfLSDudk2&open=AaDoGcJVCLWzfLSDudk2&pullRequest=129
sonarqubecloud / SonarCloud Code Analysis
Rename this field "v_fetchItemFacilityMapRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcNBCLWzfLSDudk9&open=AaDoGcNBCLWzfLSDudk9&pullRequest=129
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_facilitytypeRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcNLCLWzfLSDudk-&open=AaDoGcNLCLWzfLSDudk-&pullRequest=129
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.io.BufferedReader'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcOFCLWzfLSDudlD&open=AaDoGcOFCLWzfLSDudlD&pullRequest=129
Check warning on line 342 in src/test/java/com/iemr/inventory/service/health/HealthServiceTest.java
sonarqubecloud / SonarCloud Code Analysis
Use assertNotEquals instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcM2CLWzfLSDudk6&open=AaDoGcM2CLWzfLSDudk6&pullRequest=129
Check warning on line 192 in src/test/java/com/iemr/inventory/support/BeanAccessorHarness.java
sonarqubecloud / SonarCloud Code Analysis
Swap these 2 arguments so they are in the correct order: expected value, actual value.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcOvCLWzfLSDudlH&open=AaDoGcOvCLWzfLSDudlH&pullRequest=129
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_SupplieraddressRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcNsCLWzfLSDudlB&open=AaDoGcNsCLWzfLSDudlB&pullRequest=129
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_itemfacilitymappingRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcNYCLWzfLSDudk_&open=AaDoGcNYCLWzfLSDudk_&pullRequest=129
sonarqubecloud / SonarCloud Code Analysis
Replace these 5 tests with a single Parameterized one.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcMoCLWzfLSDudk5&open=AaDoGcMoCLWzfLSDudk5&pullRequest=129
Check warning on line 31 in src/test/java/com/iemr/inventory/utils/CookieUtilTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.Spy'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcMcCLWzfLSDudk4&open=AaDoGcMcCLWzfLSDudk4&pullRequest=129
Check warning on line 57 in src/test/java/com/iemr/inventory/service/health/HealthServiceTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.springframework.test.util.ReflectionTestUtils'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcM2CLWzfLSDudk7&open=AaDoGcM2CLWzfLSDudk7&pullRequest=129
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_itemfacilitymappingInter" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcOZCLWzfLSDudlF&open=AaDoGcOZCLWzfLSDudlF&pullRequest=129
sonarqubecloud / SonarCloud Code Analysis
Use assertNull instead.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcNjCLWzfLSDudlA&open=AaDoGcNjCLWzfLSDudlA&pullRequest=129
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_Inventory-API&issues=AaDoGcN4CLWzfLSDudlC&open=AaDoGcN4CLWzfLSDudlC&pullRequest=129
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_facilitytypeInter" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcOQCLWzfLSDudlE&open=AaDoGcOQCLWzfLSDudlE&pullRequest=129
sonarqubecloud / SonarCloud Code Analysis
Rename this field "m_itemfacilitymappingRepo" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcNBCLWzfLSDudk8&open=AaDoGcNBCLWzfLSDudk8&pullRequest=129
Check warning on line 100 in src/test/java/com/iemr/inventory/utils/CookieUtilTest.java
sonarqubecloud / SonarCloud Code Analysis
This block of commented-out lines of code should be removed.
See more on https://sonarcloud.io/project/issues?id=PSMRI_Inventory-API&issues=AaDoGcMcCLWzfLSDudk3&open=AaDoGcMcCLWzfLSDudk3&pullRequest=129