Update tests to allow them to run on Java 19
Closes gh-32280
This commit is contained in:
@@ -59,7 +59,7 @@ class ReactiveWebServerFactoryCustomizerTests {
|
||||
@Test
|
||||
void testCustomizeServerAddress() {
|
||||
ConfigurableReactiveWebServerFactory factory = mock(ConfigurableReactiveWebServerFactory.class);
|
||||
InetAddress address = mock(InetAddress.class);
|
||||
InetAddress address = InetAddress.getLoopbackAddress();
|
||||
this.properties.setAddress(address);
|
||||
this.customizer.customize(factory);
|
||||
then(factory).should().setAddress(address);
|
||||
|
||||
Reference in New Issue
Block a user