Skip to content

Commit

Permalink
test : memberTest 에 transactional 재 추가
Browse files Browse the repository at this point in the history
- member test에는 각각의 트랜잭션이 적용되어 rollback이 필요
  • Loading branch information
chwangmin authored May 22, 2024
1 parent 2269628 commit c7033fd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import static org.assertj.core.api.Assertions.assertThatThrownBy;

@DisplayName("[회원가입, ...]")
@Transactional
class MemberServiceTest extends TestConfig {

private final MemberService memberService;
Expand Down

0 comments on commit c7033fd

Please sign in to comment.