Fix failing tests following version upgrades
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user