Skip to content

Commit

Permalink
test: 꿀조합 랭킹 점수에 대한 서비스 테스트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Go-Jaecheol committed Apr 7, 2024
1 parent 66bb8e0 commit 1d466f4
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import com.funeat.product.exception.ProductException.ProductNotFoundException;
import com.funeat.recipe.dto.RankingRecipeDto;
import com.funeat.recipe.dto.RankingRecipesResponse;
import com.funeat.recipe.dto.RecipeAuthorDto;
import com.funeat.recipe.dto.RecipeCommentCondition;
import com.funeat.recipe.dto.RecipeCommentCreateRequest;
import com.funeat.recipe.dto.RecipeCommentResponse;
Expand Down Expand Up @@ -761,7 +760,6 @@ class 꿀조합_랭킹_점수에_대한_테스트 {
final var recipe2 = 레시피_생성(member, 10L, now.minusDays(4L));
복수_꿀조합_저장(recipe1, recipe2);

final var author = RecipeAuthorDto.toDto(member);
final var rankingRecipeDto1 = RankingRecipeDto.toDto(recipe1, Collections.emptyList(), false);
final var rankingRecipeDto2 = RankingRecipeDto.toDto(recipe2, Collections.emptyList(), false);
final var rankingRecipesDtos = List.of(rankingRecipeDto2, rankingRecipeDto1);
Expand All @@ -787,7 +785,6 @@ class 꿀조합_랭킹_점수에_대한_테스트 {
final var recipe2 = 레시피_생성(member, 4L, now.minusDays(1L));
복수_꿀조합_저장(recipe1, recipe2);

final var author = RecipeAuthorDto.toDto(member);
final var rankingRecipeDto1 = RankingRecipeDto.toDto(recipe1, Collections.emptyList(), false);
final var rankingRecipeDto2 = RankingRecipeDto.toDto(recipe2, Collections.emptyList(), false);
final var rankingRecipesDtos = List.of(rankingRecipeDto2, rankingRecipeDto1);
Expand Down

0 comments on commit 1d466f4

Please sign in to comment.