Skip to content

Commit

Permalink
[FEATURE] E4-S3 회원가입 API - 회원가입테스트 환경설정 변경 #25
Browse files Browse the repository at this point in the history
  • Loading branch information
choisungwook committed Oct 8, 2021
1 parent 3328629 commit b2d719d
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,18 @@

import com.infp.ciat.user.controller.dto.request.SignupRequestDTO;
import static org.junit.jupiter.api.Assertions.*;

import com.infp.ciat.user.entity.Account;
import com.infp.ciat.user.repository.AccountRepository;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.dao.DataAccessException;
import org.springframework.dao.DataIntegrityViolationException;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.transaction.annotation.Transactional;


//@ExtendWith(SpringExtension.class)
@SpringBootTest(properties = "spring.config.location=classpath:application-test.yml")
@ActiveProfiles("test")
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@Transactional
class AccountServiceTest {

Expand Down

0 comments on commit b2d719d

Please sign in to comment.