Skip to content

Commit

Permalink
chore: add profile to junit test
Browse files Browse the repository at this point in the history
  • Loading branch information
brainbackdoor committed Sep 15, 2022
1 parent a1b22e6 commit 9b8e8c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/java/nextstep/subway/AcceptanceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.test.context.ActiveProfiles;

@ActiveProfiles("test")
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
public class AcceptanceTest {
@LocalServerPort
Expand Down

0 comments on commit 9b8e8c4

Please sign in to comment.