Commit fae9ab41 authored by Phillip Webb's avatar Phillip Webb

Fix failing tests

parent c0f69d28
...@@ -74,7 +74,7 @@ public class ManagementSecurityAutoConfigurationTests { ...@@ -74,7 +74,7 @@ public class ManagementSecurityAutoConfigurationTests {
this.context.refresh(); this.context.refresh();
assertNotNull(this.context.getBean(AuthenticationManagerBuilder.class)); assertNotNull(this.context.getBean(AuthenticationManagerBuilder.class));
// 6 for static resources, one for management endpoints and one for the rest // 6 for static resources, one for management endpoints and one for the rest
assertEquals(9, this.context.getBean(FilterChainProxy.class).getFilterChains() assertEquals(8, this.context.getBean(FilterChainProxy.class).getFilterChains()
.size()); .size());
} }
...@@ -144,7 +144,7 @@ public class ManagementSecurityAutoConfigurationTests { ...@@ -144,7 +144,7 @@ public class ManagementSecurityAutoConfigurationTests {
this.context.refresh(); this.context.refresh();
// Just the management endpoints (one filter) and ignores now plus the backup // Just the management endpoints (one filter) and ignores now plus the backup
// filter on app endpoints // filter on app endpoints
assertEquals(9, this.context.getBean(FilterChainProxy.class).getFilterChains() assertEquals(8, this.context.getBean(FilterChainProxy.class).getFilterChains()
.size()); .size());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment