Add missing @Test annotation

This commit is contained in:
Marcus Hert Da Coregio 2024-06-10 15:43:52 -03:00
parent 7c43fc111f
commit b4c8fdf91d
1 changed files with 1 additions and 0 deletions

View File

@ -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)