Fix failing tests following version upgrades

This commit is contained in:
Phillip Webb
2023-11-20 21:03:17 -08:00
parent 84ddeea1a4
commit 59493e8306
2 changed files with 2 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ class WavefrontPropertiesConfigAdapterTests extends
protected void whenPropertiesBatchSizeIsSetAdapterBatchSizeReturnsIt() {
WavefrontProperties properties = new WavefrontProperties();
properties.getSender().setBatchSize(10042);
assertThat(createConfigAdapter(properties.getMetrics().getExport()).batchSize()).isEqualTo(10042);
assertThat(new WavefrontPropertiesConfigAdapter(properties).batchSize()).isEqualTo(10042);
}
@Test

View File

@@ -18,8 +18,6 @@ package org.springframework.boot.json;
import java.io.IOException;
import org.junit.jupiter.api.Disabled;
/**
* Tests for {@link GsonJsonParser}.
*
@@ -33,9 +31,8 @@ class GsonJsonParserTests extends AbstractJsonParserTests {
}
@Override
@Disabled("Gson does not protect against deeply nested JSON")
void listWithRepeatedOpenArray() throws IOException {
super.listWithRepeatedOpenArray();
// Gson does not protect against deeply nested JSON
}
}