Skip to content

Commit

Permalink
refactor: test LocalDateTime μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
xxeol2 committed Oct 5, 2023
1 parent ac669fc commit dd9d56f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
import com.festago.ticket.repository.TicketRepository;
import com.festago.ticketing.domain.MemberTicket;
import com.festago.ticketing.repository.MemberTicketRepository;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneOffset;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
Expand Down Expand Up @@ -137,7 +135,7 @@ class νšŒμ›μ˜_ID둜_μ—λ§€ν•œ_티켓을_λͺ¨λ‘_쑰회 {
@Test
void λ¬΄λŒ€μ™€_μž…μž₯μ‹œκ°„μœΌλ‘œ_λ©€λ²„μ•„μ΄λ””λ¦¬μŠ€νŠΈ_쑰회() {
// given
LocalDateTime entryTime = LocalDateTime.ofInstant(Instant.now(), ZoneOffset.UTC);
LocalDateTime entryTime = LocalDateTime.of(2023, 10, 5, 10, 30);
Stage stage = saveStage();
Member member1 = memberRepository.save(MemberFixture.member().build());
Member member2 = memberRepository.save(MemberFixture.member().build());
Expand Down

0 comments on commit dd9d56f

Please sign in to comment.