Skip to content

Commit

Permalink
feat: 테스트 복구
Browse files Browse the repository at this point in the history
  • Loading branch information
Daolove0323 committed Nov 9, 2024
1 parent 4c4ee15 commit 1bc2b75
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,18 @@ void update() {

// then
then(eventRepository).should(times(1)).findById(eventId);

assertAll(
() -> assertEquals(validEvent.getTitle(), validEventEditRequest.getTitle()),
() -> assertEquals(validEvent.getContent(), validEventEditRequest.getContent()),
() -> assertEquals(validEvent.getArea(), validEventEditRequest.getArea()),
() -> assertEquals(validEvent.getLocation(), validEventEditRequest.getLocation()),
() -> assertEquals(validEvent.getStartTime(), validEventEditRequest.getStartTime()),
() -> assertEquals(validEvent.getEndTime(), validEventEditRequest.getEndTime()),
() -> assertEquals(validEvent.getPrice(), validEventEditRequest.getPrice()),
() -> assertEquals(validEvent.getTotalSeat(), validEventEditRequest.getTotalSeat()),
() -> assertEquals(validEvent.getCategory(), validEventEditRequest.getCategory())
);
}

@Test
Expand Down

0 comments on commit 1bc2b75

Please sign in to comment.