Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Commit f1d283e

Browse files
rodolphocoutorstoyanchev
authored andcommitted
Remove locale context resolver (it's unnecessary for the test)
1 parent 9dcea0b commit f1d283e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

SPR-17239/src/test/java/com/springframework/issues/RouterFunctionsTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
import org.junit.jupiter.api.Test;
55
import org.springframework.test.web.reactive.server.WebTestClient;
66
import org.springframework.web.reactive.function.server.HandlerStrategies;
7-
import org.springframework.web.server.i18n.FixedLocaleContextResolver;
8-
9-
import java.util.Locale;
107

118
public class RouterFunctionsTest {
129

@@ -18,7 +15,6 @@ public void setUp() {
1815
.bindToRouterFunction(RouterFunctions.router())
1916
.handlerStrategies(HandlerStrategies.builder()
2017
.exceptionHandler(new ExceptionHandler())
21-
.localeContextResolver(new FixedLocaleContextResolver(Locale.ENGLISH))
2218
.build())
2319
.build();
2420
}

0 commit comments

Comments
 (0)