File tree 2 files changed +9
-8
lines changed
src/test/java/org/springframework/hateoas/config
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 76
76
<logback .version>1.5.12</logback .version>
77
77
<jacoco >0.8.12</jacoco >
78
78
<jacoco .destfile>${project.build.directory} /jacoco.exec</jacoco .destfile>
79
- <jackson-bom .version>2.18.1 </jackson-bom .version>
79
+ <jackson-bom .version>2.18.2 </jackson-bom .version>
80
80
<java-module-name >spring.hateoas</java-module-name >
81
81
<jsonpath .version>2.9.0</jsonpath .version>
82
82
<junit .version>5.11.3</junit .version>
83
83
<lombok .version>1.18.36</lombok .version>
84
- <reactor-bom .version>2024.0.0 </reactor-bom .version>
84
+ <reactor-bom .version>2024.0.2 </reactor-bom .version>
85
85
<slf4j .version>2.0.16</slf4j .version>
86
- <spring .version>6.2.0 </spring .version>
86
+ <spring .version>7.0.0-M1 </spring .version>
87
87
<spring-plugin .version>3.0.0</spring-plugin .version>
88
- <kotlin .version>1.9.25 </kotlin .version>
89
- <kotlinx-coroutines .version>1.9.0 </kotlinx-coroutines .version>
90
- <mockk .version>1.13.13 </mockk .version>
88
+ <kotlin .version>2.1.0 </kotlin .version>
89
+ <kotlinx-coroutines .version>1.10.1 </kotlinx-coroutines .version>
90
+ <mockk .version>1.13.14 </mockk .version>
91
91
</properties >
92
92
93
93
<profiles >
Original file line number Diff line number Diff line change 37
37
import org .springframework .web .bind .annotation .GetMapping ;
38
38
import org .springframework .web .bind .annotation .RestController ;
39
39
import org .springframework .web .reactive .config .EnableWebFlux ;
40
+ import org .springframework .web .reactive .function .client .ExchangeStrategies ;
40
41
41
42
/**
42
43
* @author Greg Turnquist
44
+ * @author Christoph Strobl
43
45
*/
44
46
class CustomHypermediaWebFluxTest {
45
47
@@ -56,8 +58,7 @@ void setUp() {
56
58
57
59
this .testClient = WebTestClient .bindToApplicationContext (ctx ).build () //
58
60
.mutate () //
59
- .exchangeStrategies (
60
- it -> it .codecs (inner -> inner .defaultCodecs ().configureDefaultCodec (webClientConfigurer .customizer ))) //
61
+ .exchangeStrategies (ExchangeStrategies .builder ().codecs (it -> it .defaultCodecs ().configureDefaultCodec (webClientConfigurer .customizer )).build ())
61
62
.build ();
62
63
}
63
64
You can’t perform that action at this time.
0 commit comments