Add RuntimeHints for webauthn Javascript resource
This commit is contained in:
committed by
Rob Winch
parent
409d552ae0
commit
46fe0124ba
@@ -68,4 +68,10 @@ class WebMvcSecurityRuntimeHintsTests {
|
||||
.accepts(this.hints);
|
||||
}
|
||||
|
||||
@Test
|
||||
void webauthnJavascriptHasHints() {
|
||||
assertThat(RuntimeHintsPredicates.resource()
|
||||
.forResource("org/springframework/security/spring-security-webauthn.js")).accepts(this.hints);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user