Skip to content

Commit fae9ab4

Browse files
committed
Fix failing tests
1 parent c0f69d2 commit fae9ab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/ManagementSecurityAutoConfigurationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void testWebConfiguration() throws Exception {
7474
this.context.refresh();
7575
assertNotNull(this.context.getBean(AuthenticationManagerBuilder.class));
7676
// 6 for static resources, one for management endpoints and one for the rest
77-
assertEquals(9, this.context.getBean(FilterChainProxy.class).getFilterChains()
77+
assertEquals(8, this.context.getBean(FilterChainProxy.class).getFilterChains()
7878
.size());
7979
}
8080

@@ -144,7 +144,7 @@ public void testDisableBasicAuthOnApplicationPaths() throws Exception {
144144
this.context.refresh();
145145
// Just the management endpoints (one filter) and ignores now plus the backup
146146
// filter on app endpoints
147-
assertEquals(9, this.context.getBean(FilterChainProxy.class).getFilterChains()
147+
assertEquals(8, this.context.getBean(FilterChainProxy.class).getFilterChains()
148148
.size());
149149
}
150150

0 commit comments

Comments
 (0)