Fix build failure
This commit is contained in:
parent
6e4d30f280
commit
905e851219
|
|
@ -242,13 +242,6 @@ public class EnvironmentEndpointTests {
|
|||
.isEqualTo("bar");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void propertyEntryNoMatchReturnNull() {
|
||||
EnvironmentDescriptor env = new EnvironmentEndpoint(new StandardEnvironment())
|
||||
.environmentEntry("this.property.does-not-exist");
|
||||
assertThat(env).isNull();
|
||||
}
|
||||
|
||||
private void clearSystemProperties(String... properties) {
|
||||
for (String property : properties) {
|
||||
System.clearProperty(property);
|
||||
|
|
|
|||
Loading…
Reference in New Issue