Skip to content

Commit 8891454

Browse files
committed
Chore: NotificationControllerTest 프로파일 설정
1 parent 84d17b4 commit 8891454

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/back/domain/notification/controller/NotificationControllerTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import org.springframework.http.MediaType;
2626
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
2727
import org.springframework.security.core.authority.SimpleGrantedAuthority;
28+
import org.springframework.test.context.ActiveProfiles;
2829
import org.springframework.test.context.bean.override.mockito.MockitoBean;
2930
import org.springframework.test.web.servlet.MockMvc;
3031
import org.springframework.test.web.servlet.ResultActions;
@@ -39,6 +40,7 @@
3940

4041
@SpringBootTest
4142
@AutoConfigureMockMvc
43+
@ActiveProfiles("test")
4244
class NotificationControllerTest {
4345

4446
@Autowired

0 commit comments

Comments
 (0)