Skip to content

Commit

Permalink
โ™ป๏ธ apply code convention
Browse files Browse the repository at this point in the history
  • Loading branch information
oshyun00 committed Aug 5, 2024
1 parent 5ab7b35 commit 878973d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import org.springframework.http.HttpStatus;

public class InvalidParameterException extends RecipeException{
public class InvalidParameterException extends RecipeException {

public InvalidParameterException(String message) {
super(HttpStatus.BAD_REQUEST, message);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ void findRecipeIds() {
@DisplayName("๋ ˆ์‹œํ”ผ id์— ํ•ด๋‹น๋˜๋Š” ์„ธ๋ถ€ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•œ๋‹ค.")
void findRecipeData() {
List<Long> recipeIds = List.of(4L, 3L);
RecipeDataResponse expectedData = new RecipeDataResponse(4, "ํ† ๋งˆํ† ์ŠคํŒŒ๊ฒŒํ‹ฐ", 1, "loki", "loki.jpg", LocalTime.of(0, 30),
"ํ† ๋งˆํ† ์ŠคํŒŒ๊ฒŒํ‹ฐ์ด๋ฏธ์ง€.jpg", 3, 2, 0, "ํ† ๋งˆํ† ์ŠคํŒŒ๊ฒŒํ‹ฐ ์กฐ๋ฆฌ๋ฒ•", LocalDateTime.of(2024, 7, 2, 13, 0, 0), 2, "์–‘์‹", 2, "์Œ€", REQUIRED
RecipeDataResponse expectedData = new RecipeDataResponse(4, "ํ† ๋งˆํ† ์ŠคํŒŒ๊ฒŒํ‹ฐ", 1, "loki", "loki.jpg",
LocalTime.of(0, 30), "ํ† ๋งˆํ† ์ŠคํŒŒ๊ฒŒํ‹ฐ์ด๋ฏธ์ง€.jpg", 3, 2, 0, "ํ† ๋งˆํ† ์ŠคํŒŒ๊ฒŒํ‹ฐ ์กฐ๋ฆฌ๋ฒ•", LocalDateTime.of(2024, 7, 2, 13, 0, 0),
2, "์–‘์‹", 2, "์Œ€", REQUIRED
);

List<RecipeDataResponse> recipeData = repository.findRecipeData(recipeIds);
Expand Down

0 comments on commit 878973d

Please sign in to comment.