Skip to content

Commit

Permalink
feat: test에 activeprofile 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
baebae02 committed Apr 8, 2024
1 parent 052c29a commit 8757949
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/test/java/com/uspray/uspray/UsprayApplicationTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;

@SpringBootTest
@ActiveProfiles("test")
//@Testcontainers
class UsprayApplicationTests {

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/uspray/uspray/common/MemberTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@Transactional
@ActiveProfiles("set3")
@ActiveProfiles("test")
public abstract class MemberTest {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//@DataJpaTest
@Transactional
@SpringBootTest
@ActiveProfiles("set3")
@ActiveProfiles("test")
public abstract class RepositoryTest {

@Autowired
Expand Down

0 comments on commit 8757949

Please sign in to comment.