Skip to content

Commit

Permalink
HLM-5011 change the staffId from String to List. The change is relate…
Browse files Browse the repository at this point in the history
…d to HLM-5009
  • Loading branch information
syed-egov committed Feb 9, 2024
1 parent 9ab7334 commit 373abd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ public class ProjectStaffSearch {
private String tenantId = null;

@JsonProperty("staffId")
@Size(min=2,max=64)
private String staffId = null;
private List<String> staffId = null;

@JsonProperty("projectId")
@Size(min=2,max=64)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void shouldNotRaiseExceptionIfNoProjectStaffFound() throws Exception {
any(Integer.class), any(String.class), eq(null), any(Boolean.class)))
.thenReturn(Collections.emptyList());
ProjectStaffSearch projectStaffSearch = ProjectStaffSearch.builder()
.id(Collections.singletonList("ID101")).staffId("some-user-id").build();
.id(Collections.singletonList("ID101")).staffId(Collections.singletonList("some-user-id")).build();
ProjectStaffSearchRequest projectStaffSearchRequest = ProjectStaffSearchRequest.builder()
.projectStaff(projectStaffSearch).requestInfo(RequestInfoTestBuilder.builder()
.withCompleteRequestInfo().build()).build();
Expand Down

0 comments on commit 373abd4

Please sign in to comment.