Fix or ignore tests

parent c9e7d81e
......@@ -44,7 +44,7 @@ import static org.junit.Assert.assertTrue;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class, webEnvironment = WebEnvironment.RANDOM_PORT,
properties = {"spring.application.name=eureka", "server.servlet.context-path=/context",
"management.security.enabled=false" })
"management.security.enabled=false", "endpoints.default.web.enabled=true" })
public class ApplicationContextTests {
@LocalServerPort
......
......@@ -43,7 +43,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class, webEnvironment = RANDOM_PORT, properties = {
"spring.application.name=eureka", "server.servlet.path=/servlet",
"management.security.enabled=false" })
"management.security.enabled=false", "endpoints.default.web.enabled=true" })
public class ApplicationServletPathTests {
@LocalServerPort
......
......@@ -52,7 +52,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class, webEnvironment = RANDOM_PORT, properties = {
"spring.jmx.enabled=true", "management.security.enabled=false" })
"spring.jmx.enabled=true", "management.security.enabled=false", "endpoints.default.web.enabled=true" })
public class ApplicationTests {
@LocalServerPort
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment