Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af2a867

Browse files
author
Dave Syer
committed
Remove missing module from pom (thanks Eclipse)
1 parent d71afe0 commit af2a867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot/src/test/java/org/springframework/boot/builder/SpringApplicationBuilderTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public void parentFirstWithDifferentProfile() throws Exception {
184184
ExampleConfig.class).profiles("node").properties("transport=redis")
185185
.child(ChildConfig.class).profiles("admin").web(false);
186186
this.context = application.run();
187-
assertThat(this.context.getEnvironment().acceptsProfiles("node"), is(true));
187+
assertThat(this.context.getEnvironment().acceptsProfiles("node", "admin"), is(true));
188188
assertThat(this.context.getParent().getEnvironment().acceptsProfiles("admin"),
189189
is(false));
190190
}

0 commit comments

Comments
 (0)