File tree Expand file tree Collapse file tree
src/test/java/org/baeldung/web/controller/status Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 <dependency >
3434 <groupId >org.springframework</groupId >
3535 <artifactId >spring-web</artifactId >
36- <version >${org.springframework.version} </version >
3736 <exclusions >
3837 <exclusion >
3938 <artifactId >commons-logging</artifactId >
4443 <dependency >
4544 <groupId >org.springframework</groupId >
4645 <artifactId >spring-webmvc</artifactId >
47- <version >${org.springframework.version} </version >
4846 </dependency >
4947 <dependency >
5048 <groupId >org.springframework</groupId >
5149 <artifactId >spring-oxm</artifactId >
52- <version >${org.springframework.version} </version >
5350 </dependency >
5451
5552 <dependency >
229226
230227 <properties >
231228 <!-- Spring -->
232- <org .springframework.version>4.2.4.RELEASE</org .springframework.version>
233229 <org .springframework.security.version>4.0.3.RELEASE</org .springframework.security.version>
234230
235231 <!-- persistence -->
Original file line number Diff line number Diff line change 1- package com .baeldung ;
1+ package org .baeldung . web . controller . status ;
22
33import static org .springframework .test .web .servlet .request .MockMvcRequestBuilders .get ;
44import static org .springframework .test .web .servlet .result .MockMvcResultMatchers .status ;
55
6+ import org .baeldung .config .WebConfig ;
67import org .junit .Before ;
78import org .junit .Test ;
89import org .junit .runner .RunWith ;
910import org .springframework .beans .factory .annotation .Autowired ;
10- import org .springframework .boot . test .SpringApplicationConfiguration ;
11+ import org .springframework .test .context . ContextConfiguration ;
1112import org .springframework .test .context .junit4 .SpringJUnit4ClassRunner ;
1213import org .springframework .test .context .web .WebAppConfiguration ;
1314import org .springframework .test .web .servlet .MockMvc ;
You can’t perform that action at this time.
0 commit comments