Fix compile errors
Closes gh-32569
This commit is contained in:
@@ -55,8 +55,7 @@ class ClientHttpObservationConventionAdapterTests {
|
||||
|
||||
@BeforeEach
|
||||
void setup() {
|
||||
this.context = new ClientHttpObservationContext();
|
||||
this.context.setCarrier(this.request);
|
||||
this.context = new ClientHttpObservationContext(this.request);
|
||||
this.context.setResponse(this.response);
|
||||
this.context.setUriTemplate("/resource/{name}");
|
||||
}
|
||||
|
||||
@@ -2202,7 +2202,6 @@ class ConfigurationPropertiesTests {
|
||||
|
||||
}
|
||||
|
||||
@ConstructorBinding
|
||||
@ConfigurationProperties(prefix = "test")
|
||||
static class ConstructorParameterWithUnitProperties {
|
||||
|
||||
@@ -2212,6 +2211,7 @@ class ConfigurationPropertiesTests {
|
||||
|
||||
private final Period period;
|
||||
|
||||
@ConstructorBinding
|
||||
ConstructorParameterWithUnitProperties(@DefaultValue("2") @DurationUnit(ChronoUnit.DAYS) Duration duration,
|
||||
@DefaultValue("3") @DataSizeUnit(DataUnit.MEGABYTES) DataSize size,
|
||||
@DefaultValue("4") @PeriodUnit(ChronoUnit.YEARS) Period period) {
|
||||
|
||||
Reference in New Issue
Block a user