Skip to content

Commit

Permalink
refactor: given절 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
swonny committed Oct 15, 2023
1 parent e25ccf8 commit 0514d3e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class JpaAuctionRepositoryTest extends JpaAuctionRepositoryFixture {
// when
final Auction actual = auctionRepository.save(저장하기_전_경매_엔티티);

// then
assertThat(actual.getId()).isPositive();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ void setUp(@Autowired final JpaChatRoomReportRepository jpaChatRoomReportReposit

@Test
void 채팅방_신고를_저장한다() {
// given
final ChatRoomReport chatRoomReport = new ChatRoomReport(구매자1, 채팅방1, "신고합니다.");

// when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class JpaChatRoomReportRepositoryTest extends JpaChatRoomReportRepositoryFixture

@Test
void 채팅방_신고를_저장한다() {
// given
final ChatRoomReport chatRoomReport = new ChatRoomReport(구매자1, 채팅방1, "신고합니다.");

// when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public class JpaReviewRepositoryFixture {
@Autowired
private JpaReviewRepository reviewRepository;


protected User 판매자1;
protected User 판매자2;
protected User 평가_안한_경매_판매자;
Expand Down

0 comments on commit 0514d3e

Please sign in to comment.