-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f04832
commit 77636fc
Showing
12 changed files
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,7 @@ void setUp() { | |
Member member = MemberFixture.member("[email protected]"); | ||
Member savedMember = memberRepository.save(member); | ||
Reservation reservation = reservationRepository.save( | ||
ReservationFixture.getReservationWithMember(savedReservationTime,savedMember)); | ||
ReservationFixture.getReservationWithMember(savedReservationTime, savedMember)); | ||
|
||
ReservationTime reservationTime2 = ReservationFixture.getAnotherReservationTimeNotPreOccupied(); | ||
reservationTime2.insertShop(shop); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,8 @@ void findByIdWithReservationTimeAndShop() { | |
Member member = MemberFixture.member("[email protected]"); | ||
Member savedMember = memberRepository.save(member); | ||
|
||
Reservation reservation = ReservationFixture.getReservationWithMember(savedReservationTime, savedMember); | ||
Reservation reservation = ReservationFixture.getReservationWithMember(savedReservationTime, | ||
savedMember); | ||
Reservation savedReservation = reservationRepository.save(reservation); | ||
|
||
Reservation findReservation = reservationRepository.findByIdWithReservationTimeAndShop( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -204,7 +204,8 @@ void modifyReservation() { | |
ReservationTime modifyTime = ReservationFixture.getAnotherReservationTimeNotPreOccupied(); | ||
ReflectionTestUtils.setField(modifyTime, "id", 2L); //수정하려는 예약시간 객체 -> Id : 2 | ||
|
||
Reservation reservation = ReservationFixture.getReservationWithMember(reservationTime, MemberFixture.member("[email protected]")); | ||
Reservation reservation = ReservationFixture.getReservationWithMember(reservationTime, | ||
MemberFixture.member("[email protected]")); | ||
ModifyReservationRequest request = ReservationFixture.getModifyReservationRequest( | ||
2L); | ||
|
||
|