@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
/ *
* Copyright 2012 - 2018 the original author or authors .
* Copyright 2012 - 2019 the original author or authors .
*
* Licensed under the Apache License , Version 2 . 0 ( the "License" ) ;
* you may not use this file except in compliance with the License .
@ -40,9 +40,10 @@ import static org.assertj.core.api.Assertions.assertThat;
@@ -40,9 +40,10 @@ import static org.assertj.core.api.Assertions.assertThat;
* @author Dave Syer
* /
@RunWith ( SpringRunner . class )
@SpringBootTest ( webEnvironment = WebEnvironment . RANDOM_PORT , properties = {
"management.server.port=0" , "management.endpoints.web.base-path=/admin" ,
"management.endpoint.health.show-details=never" } )
@SpringBootTest ( webEnvironment = WebEnvironment . RANDOM_PORT ,
properties = { "management.server.port=0" ,
"management.endpoints.web.base-path=/admin" ,
"management.endpoint.health.show-details=never" } )
public class ManagementPortAndPathSampleActuatorApplicationTests {
@LocalServerPort