Fix or ignore tests

parent c9e7d81e
...@@ -44,7 +44,7 @@ import static org.junit.Assert.assertTrue; ...@@ -44,7 +44,7 @@ import static org.junit.Assert.assertTrue;
@RunWith(SpringRunner.class) @RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class, webEnvironment = WebEnvironment.RANDOM_PORT, @SpringBootTest(classes = Application.class, webEnvironment = WebEnvironment.RANDOM_PORT,
properties = {"spring.application.name=eureka", "server.servlet.context-path=/context", 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 { public class ApplicationContextTests {
@LocalServerPort @LocalServerPort
......
...@@ -43,7 +43,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen ...@@ -43,7 +43,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
@RunWith(SpringRunner.class) @RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class, webEnvironment = RANDOM_PORT, properties = { @SpringBootTest(classes = Application.class, webEnvironment = RANDOM_PORT, properties = {
"spring.application.name=eureka", "server.servlet.path=/servlet", "spring.application.name=eureka", "server.servlet.path=/servlet",
"management.security.enabled=false" }) "management.security.enabled=false", "endpoints.default.web.enabled=true" })
public class ApplicationServletPathTests { public class ApplicationServletPathTests {
@LocalServerPort @LocalServerPort
......
...@@ -52,7 +52,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen ...@@ -52,7 +52,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
@RunWith(SpringRunner.class) @RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class, webEnvironment = RANDOM_PORT, properties = { @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 { public class ApplicationTests {
@LocalServerPort @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