This commit is contained in:
Andy Wilkinson 2022-09-14 09:20:13 +01:00
parent f767a45fc1
commit a533f4fa32
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ class GraphQlWebFluxAutoConfigurationTests {
}
@Test
void routerFunctionShouldHaveOrderZero() throws Exception {
void routerFunctionShouldHaveOrderZero() {
this.contextRunner.withUserConfiguration(CustomRouterFunctions.class).run((context) -> {
Map<String, ?> beans = context.getBeansOfType(RouterFunction.class);
Object[] ordered = context.getBeanProvider(RouterFunction.class).orderedStream().toArray();

View File

@ -158,7 +158,7 @@ class GraphQlWebMvcAutoConfigurationTests {
}
@Test
void routerFunctionShouldHaveOrderZero() throws Exception {
void routerFunctionShouldHaveOrderZero() {
this.contextRunner.withUserConfiguration(CustomRouterFunctions.class).run((context) -> {
Map<String, ?> beans = context.getBeansOfType(RouterFunction.class);
Object[] ordered = context.getBeanProvider(RouterFunction.class).orderedStream().toArray();