Skip to content

Commit

Permalink
test(product): add unit tests for product package
Browse files Browse the repository at this point in the history
  • Loading branch information
korzhhiik committed Sep 8, 2023
1 parent c991248 commit af089f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void shouldFetchProductsUsingPageAttributes() {

assertNotNull(productList);

verify(productRepository, times(1)).findAll(any(Pageable.class));
verify(productRepository, times(1)).findAll(pageRequest);
verify(productInfoConverter, times(1)).toProductPaginationDto(ArgumentMatchers.<Page<ProductInfoDto>>any());
}
}

0 comments on commit af089f2

Please sign in to comment.