Commit c85c653e authored by Stephane Nicoll's avatar Stephane Nicoll

Polish "Add negative tests to ConfigurationPropertiesScanTests"

Closes gh-16758
parent d44ffd35
......@@ -66,7 +66,7 @@ public class ConfigurationPropertiesScanTests {
load(TestConfiguration.class);
assertThat(this.context.containsBean(
"profile-org.springframework.boot.context.properties.scan.valid.a.AScanConfiguration$MyProfileProperties"))
.isFalse();
.isFalse();
}
@Test
......@@ -87,7 +87,7 @@ public class ConfigurationPropertiesScanTests {
load(TestConfiguration.class);
assertThat(this.context.containsBean(
"resource-org.springframework.boot.context.properties.scan.valid.a.AScanConfiguration$MyResourceProperties"))
.isFalse();
.isFalse();
}
private void load(Class<?>... classes) {
......
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