Remove unused properties from tests

pull/9938/head
Madhura Bhave 7 years ago
parent ea087b9bac
commit 3d878e642a

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

Loading…
Cancel
Save