mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '2.7.x'
This commit is contained in:
commit
bde06a3115
@ -273,7 +273,7 @@ class OAuth2ResourceServerAutoConfigurationTests {
|
||||
this.contextRunner
|
||||
.withPropertyValues(
|
||||
"spring.security.oauth2.resourceserver.jwt.public-key-location=classpath:public-key-location",
|
||||
"spring.security.oauth2.resourceserver.jwt.jws-algorithm=NOT_VALID")
|
||||
"spring.security.oauth2.resourceserver.jwt.jws-algorithms=NOT_VALID")
|
||||
.run((context) -> assertThat(context).hasFailed().getFailure()
|
||||
.hasMessageContaining("signatureAlgorithm cannot be null"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user