Browse Source

Add missing @Test annotation

pull/15221/head
Marcus Hert Da Coregio 2 years ago
parent
commit
b4c8fdf91d
  1. 1
      config/src/test/kotlin/org/springframework/security/config/annotation/web/AuthorizeHttpRequestsDslTests.kt

1
config/src/test/kotlin/org/springframework/security/config/annotation/web/AuthorizeHttpRequestsDslTests.kt

@ -856,6 +856,7 @@ class AuthorizeHttpRequestsDslTests { @@ -856,6 +856,7 @@ class AuthorizeHttpRequestsDslTests {
}
}
@Test
fun `hasRole when prefixed by configured role prefix should fail to configure`() {
assertThatThrownBy { this.spring.register(RoleValidationConfig::class.java).autowire() }
.isInstanceOf(UnsatisfiedDependencyException::class.java)

Loading…
Cancel
Save