Merge branch '2.6.x' into 2.7.x

Closes gh-32284
This commit is contained in:
Andy Wilkinson
2022-09-09 16:46:43 +01:00
10 changed files with 182 additions and 53 deletions

View File

@@ -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);