Polish "Polish SecurityProperties"

See gh-33251
pull/33270/head
Andy Wilkinson 2 years ago
parent c1691f525a
commit 98171921da

@ -162,7 +162,7 @@ class SecurityAutoConfigurationTests {
DelegatingFilterProxyRegistrationBean.class);
assertThat(bean)
.extracting("dispatcherTypes", InstanceOfAssertFactories.iterable(DispatcherType.class))
.containsOnly(EnumSet.allOf(DispatcherType.class).toArray(new DispatcherType[0]));
.containsExactlyInAnyOrderElementsOf(EnumSet.allOf(DispatcherType.class));
});
}

Loading…
Cancel
Save