Skip to content

Commit 9bfe7b8

Browse files
indraniBanindraniBan
indraniBan
authored and
indraniBan
committed
modified junit test cases
1 parent f90e231 commit 9bfe7b8

File tree

4 files changed

+411
-91
lines changed

4 files changed

+411
-91
lines changed

src/main/java/com/iemr/common/identity/data/rmnch/GetBenRequestHandler.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323

2424
import java.sql.Timestamp;
2525

26+
import lombok.AllArgsConstructor;
27+
import lombok.Data;
28+
29+
@Data
2630
public class GetBenRequestHandler {
2731
private Integer villageID;
2832
private Timestamp fromDate;

src/test/java/com/iemr/common/identity/service/IdentityServiceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
import javax.sql.DataSource;
3838

3939
import org.junit.jupiter.api.Assertions;
40+
import org.junit.jupiter.api.BeforeEach;
4041
import org.junit.jupiter.api.Test;
4142
import org.junit.jupiter.api.extension.ExtendWith;
4243
import org.mockito.InjectMocks;
4344
import org.mockito.Mock;
4445
import org.mockito.Mockito;
4546
import org.mockito.junit.jupiter.MockitoExtension;
4647
import org.springframework.context.annotation.Description;
47-
import org.springframework.jdbc.CannotGetJdbcConnectionException;
4848
import org.springframework.jdbc.core.JdbcTemplate;
4949

5050
import com.google.common.collect.Lists;
@@ -828,7 +828,7 @@ void editIdentityEducationOrCommunitytest() throws MissingMandatoryFieldsExcepti
828828
identityService.editIdentityEducationOrCommunity(identity);
829829
Assertions.assertNotNull(benmapping);
830830
}
831-
831+
832832
@Test
833833
@Description("Tests the functionality of importing beneficiary IDs to a local server, ensuring successful transfer and integration of beneficiary data for local processing or storage.")
834834
void testimportBenIdToLocalServer() {

0 commit comments

Comments
 (0)