Align expectation with new endpoint enabled property description

See gh-10870
This commit is contained in:
Andy Wilkinson 2017-11-21 11:38:50 +00:00
parent 4d5de829cb
commit aa9c5e6e08
1 changed files with 2 additions and 2 deletions

View File

@ -626,8 +626,8 @@ public class ConfigurationMetadataAnnotationProcessorTests {
private Metadata.MetadataItemCondition enabledFlag(String endpointId,
Boolean defaultValue) {
return Metadata.withEnabledFlag("management.endpoint." + endpointId + ".enabled")
.withDefaultValue(defaultValue)
.withDescription(String.format("Enable the %s endpoint.", endpointId));
.withDefaultValue(defaultValue).withDescription(
String.format("Whether to enable the %s endpoint.", endpointId));
}
private Metadata.MetadataItemCondition cacheTtl(String endpointId) {