Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
sadilchamishka committed Oct 11, 2024
1 parent e93eb5e commit e6567c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ public void testFilteringUsersWithGETWithPagination(List<org.wso2.carbon.user.co
when(mockedUserStoreManager.getUserListWithID(any(Condition.class), anyString(), anyString(), eq(configuredMaxLimit),
anyInt(), nullable(String.class), nullable(String.class))).thenReturn(filteredUsersWithoutPagination);

when(mockedUserStoreManager.getUserListWithID(any(Condition.class), anyString(), anyString(), eq(users.size()),
when(mockedUserStoreManager.getUserListWithID(any(Condition.class), anyString(), anyString(), eq(Integer.MAX_VALUE),
anyInt(), nullable(String.class), nullable(String.class))).thenReturn(filteredUsersWithoutPagination);

when(mockedUserStoreManager.getRoleListOfUserWithID(anyString())).thenReturn(new ArrayList<>());
Expand Down

0 comments on commit e6567c7

Please sign in to comment.