Skip to content

Commit

Permalink
modified junit test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
indraniBan authored and indraniBan committed Jun 26, 2024
1 parent f90e231 commit 9bfe7b8
Show file tree
Hide file tree
Showing 4 changed files with 411 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

import java.sql.Timestamp;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
public class GetBenRequestHandler {
private Integer villageID;
private Timestamp fromDate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
import javax.sql.DataSource;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.junit.jupiter.MockitoExtension;
import org.springframework.context.annotation.Description;
import org.springframework.jdbc.CannotGetJdbcConnectionException;
import org.springframework.jdbc.core.JdbcTemplate;

import com.google.common.collect.Lists;
Expand Down Expand Up @@ -828,7 +828,7 @@ void editIdentityEducationOrCommunitytest() throws MissingMandatoryFieldsExcepti
identityService.editIdentityEducationOrCommunity(identity);
Assertions.assertNotNull(benmapping);
}

@Test
@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.")
void testimportBenIdToLocalServer() {
Expand Down
Loading

0 comments on commit 9bfe7b8

Please sign in to comment.