Browse Source

Polish

pull/31463/head
Andy Wilkinson 4 years ago
parent
commit
89bef73846
  1. 2
      spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/oauth2/resource/servlet/OAuth2ResourceServerAutoConfigurationTests.java

2
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/oauth2/resource/servlet/OAuth2ResourceServerAutoConfigurationTests.java

@ -302,7 +302,7 @@ class OAuth2ResourceServerAutoConfigurationTests { @@ -302,7 +302,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…
Cancel
Save