Adapt to API change in Spring Framework 5.3.0 snapshots
See gh-23534
This commit is contained in:
@@ -74,7 +74,7 @@ class WebTestClientAutoConfigurationTests {
|
||||
this.contextRunner.withUserConfiguration(BaseConfiguration.class)
|
||||
.withPropertyValues("spring.test.webtestclient.timeout=15m").run((context) -> {
|
||||
WebTestClient webTestClient = context.getBean(WebTestClient.class);
|
||||
assertThat(webTestClient).hasFieldOrPropertyWithValue("timeout", Duration.ofMinutes(15));
|
||||
assertThat(webTestClient).hasFieldOrPropertyWithValue("responseTimeout", Duration.ofMinutes(15));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user