|
|
|
@ -50,7 +50,6 @@ public class SpringApplicationHierarchyTests {
|
|
|
|
|
@Test
|
|
|
|
|
public void testParent() {
|
|
|
|
|
SpringApplicationBuilder builder = new SpringApplicationBuilder(Child.class);
|
|
|
|
|
builder.properties("spring.flyway.enabled=false", "spring.liquibase.enabled=false");
|
|
|
|
|
builder.parent(Parent.class);
|
|
|
|
|
this.context = builder.run("--server.port=0");
|
|
|
|
|
}
|
|
|
|
@ -58,7 +57,6 @@ public class SpringApplicationHierarchyTests {
|
|
|
|
|
@Test
|
|
|
|
|
public void testChild() {
|
|
|
|
|
SpringApplicationBuilder builder = new SpringApplicationBuilder(Parent.class);
|
|
|
|
|
builder.properties("spring.flyway.enabled=false", "spring.liquibase.enabled=false");
|
|
|
|
|
builder.child(Child.class);
|
|
|
|
|
this.context = builder.run("--server.port=0");
|
|
|
|
|
}
|
|
|
|
|