File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/test/java/org/woehlke/simpleworklist Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 33import lombok .extern .slf4j .Slf4j ;
44import org .junit .Before ;
55import org .junit .jupiter .api .*;
6+ import org .junit .runner .RunWith ;
67import org .springframework .beans .factory .annotation .Autowired ;
78import org .springframework .boot .autoconfigure .ImportAutoConfiguration ;
89import org .springframework .boot .context .properties .EnableConfigurationProperties ;
1415import org .springframework .security .core .context .SecurityContextHolder ;
1516import org .springframework .security .core .userdetails .UsernameNotFoundException ;
1617import org .springframework .security .test .context .support .WithMockUser ;
18+ import org .springframework .test .context .junit4 .SpringRunner ;
1719import org .springframework .test .web .servlet .MockMvc ;
1820import org .springframework .test .web .servlet .ResultActions ;
1921import org .springframework .test .web .servlet .request .MockHttpServletRequestBuilder ;
3840@ TestMethodOrder (MethodOrderer .OrderAnnotation .class )
3941@ TestInstance (TestInstance .Lifecycle .PER_CLASS )
4042@ AutoConfigureMockMvc
43+ @ RunWith (SpringRunner .class )
4144@ SpringBootTest (webEnvironment = SpringBootTest .WebEnvironment .RANDOM_PORT )
4245@ Import (SimpleworklistApplication .class )
4346public class SmokeTests {
You can’t perform that action at this time.
0 commit comments