We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84d17b4 commit 8891454Copy full SHA for 8891454
src/test/java/com/back/domain/notification/controller/NotificationControllerTest.java
@@ -25,6 +25,7 @@
25
import org.springframework.http.MediaType;
26
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
27
import org.springframework.security.core.authority.SimpleGrantedAuthority;
28
+import org.springframework.test.context.ActiveProfiles;
29
import org.springframework.test.context.bean.override.mockito.MockitoBean;
30
import org.springframework.test.web.servlet.MockMvc;
31
import org.springframework.test.web.servlet.ResultActions;
@@ -39,6 +40,7 @@
39
40
41
@SpringBootTest
42
@AutoConfigureMockMvc
43
+@ActiveProfiles("test")
44
class NotificationControllerTest {
45
46
@Autowired
0 commit comments