Skip to content

Commit

Permalink
AYS-381 | Removed UpdatedAt parameter from List Users Endpoint (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
suhakopan authored Sep 14, 2024
1 parent 7cd77c8 commit eda1813
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 @@ -26,6 +26,5 @@ public class AysUsersResponse {
private String city;
private AysUserStatus status;
private LocalDateTime createdAt;
private LocalDateTime updatedAt;

}
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void givenValidUserListRequest_whenUsersFoundForSuperAdmin_thenReturnAysPageResp
.andExpect(AysMockResultMatchersBuilders.firstContent("createdAt")
.exists())
.andExpect(AysMockResultMatchersBuilders.firstContent("updatedAt")
.isEmpty());
.doesNotHaveJsonPath());
}

@Test
Expand Down Expand Up @@ -173,7 +173,7 @@ void givenValidUserListRequest_whenUsersFoundForAdmin_thenReturnAysPageResponseO
.andExpect(AysMockResultMatchersBuilders.firstContent("createdAt")
.exists())
.andExpect(AysMockResultMatchersBuilders.firstContent("updatedAt")
.isEmpty());
.doesNotHaveJsonPath());
}


Expand Down

0 comments on commit eda1813

Please sign in to comment.