Skip to content

Commit

Permalink
service to count downloads by user
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos-lg committed Jul 27, 2023
1 parent 4870285 commit 2adca7c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,6 @@ public void testListByUserAndStatus(ServiceType serviceType) {
long count =
service.countByUser(
TestConstants.TEST_ADMIN,
new PagingRequest(0, 5),
Download.Status.EXECUTING_STATUSES,
null);
assertEquals(downloads.getResults().size(), count);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ PagingResponse<Download> listByUser(
@Override
long countByUser(
@PathVariable("user") String user,
@SpringQueryMap Pageable pageable,
@RequestParam(value = "status", required = false) Set<Download.Status> status,
@RequestParam(value = "from", required = false) Date from);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ public PagingResponse<Download> listByUser(
@Override
public long countByUser(
@PathVariable String user,
Pageable page,
@RequestParam(value = "status", required = false) Set<Download.Status> status,
@RequestParam(value = "from", required = false) Date from) {
final Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
Expand Down

0 comments on commit 2adca7c

Please sign in to comment.