Skip to content

Commit

Permalink
♻️ change boolean validation method
Browse files Browse the repository at this point in the history
  • Loading branch information
oshyun00 committed Aug 16, 2024
1 parent a4ef5a3 commit b2b959c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ void readRecipesWithUserInfo() {
List<MainRecipeResponse> mainRecipeResponses = recipeService.readRecipes(userInfo, pageRecipeRequest);

assertAll(
() -> assertThat(mainRecipeResponses.getFirst().mine()).isEqualTo(false),
() -> assertThat(mainRecipeResponses.getLast().mine()).isEqualTo(true)
() -> assertThat(mainRecipeResponses.getFirst().mine()).isFalse(),
() -> assertThat(mainRecipeResponses.getLast().mine()).isTrue()
);
}

Expand Down

0 comments on commit b2b959c

Please sign in to comment.