File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 33 url : jdbc:h2:mem:db_test;MODE=MySQL
44 driver-class-name : org.h2.Driver
55 username : sa
6- password:
6+ password :
7+
8+ jwt :
9+ secret : test-jwt-secret-key-12345678901234567890
Original file line number Diff line number Diff line change 66import org .springframework .beans .factory .annotation .Autowired ;
77import org .springframework .boot .test .autoconfigure .web .servlet .AutoConfigureMockMvc ;
88import org .springframework .boot .test .context .SpringBootTest ;
9+ import org .springframework .test .context .ActiveProfiles ;
910import org .springframework .test .web .servlet .MockMvc ;
1011
1112import static org .springframework .test .web .servlet .request .MockMvcRequestBuilders .get ;
1213import static org .springframework .test .web .servlet .result .MockMvcResultMatchers .status ;
1314
1415@ SpringBootTest
1516@ AutoConfigureMockMvc
17+ @ ActiveProfiles ("test" )
1618class JwtSecurityIntegrationTest {
1719
1820 @ Autowired
You can’t perform that action at this time.
0 commit comments