Move server.servlet.path to spring.mvc.servlet.path

Closes gh-12971
This commit is contained in:
Stephane Nicoll
2018-05-14 12:24:38 +02:00
parent 406192741e
commit 93c45cb6ec
15 changed files with 172 additions and 132 deletions

View File

@@ -38,7 +38,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = {
"server.servlet.path=/spring" })
"spring.mvc.servlet.path=/spring" })
public class ServletPathSampleActuatorApplicationTests {
@Autowired