Skip to content

Commit

Permalink
fix: 트렌젝션 테스트에 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
chaewon121 committed Sep 27, 2023
1 parent 7a9a825 commit c22fd43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
28 changes: 0 additions & 28 deletions backend/src/main/java/com/now/naaga/common/MdcFilter.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.jdbc.Sql;
import org.springframework.transaction.annotation.Transactional;

import java.time.LocalDateTime;

Expand Down Expand Up @@ -55,6 +56,7 @@ class GameResultServiceTest {
private PlaceBuilder placeBuilder;

@Test
@Transactional
void 사용자의_위치가_도착_범위_안이고_엔트타입이_도착이면_게임_결과를_성공으로_생성_후_저장하고_플레이어의_점수를_올린다() {
//given
final Player player = playerBuilder.init().build();
Expand Down

0 comments on commit c22fd43

Please sign in to comment.