Browse Source

Adapt assertions to recent changes in Spring Security

See https://github.com/spring-projects/spring-authorization-server/issues/2219
pull/47987/head
Stéphane Nicoll 3 months ago
parent
commit
01ff8f8095
  1. 8
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-authorization-server/src/test/java/smoketest/oauth2/server/SampleOAuth2AuthorizationServerApplicationTests.java

8
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-authorization-server/src/test/java/smoketest/oauth2/server/SampleOAuth2AuthorizationServerApplicationTests.java

@ -70,10 +70,10 @@ class SampleOAuth2AuthorizationServerApplicationTests { @@ -70,10 +70,10 @@ class SampleOAuth2AuthorizationServerApplicationTests {
assertThat(config.getTokenRevocationEndpoint()).hasToString("https://provider.com/revoke");
assertThat(config.getEndSessionEndpoint()).hasToString("https://provider.com/logout");
assertThat(config.getTokenIntrospectionEndpoint()).hasToString("https://provider.com/introspect");
assertThat(config.getPushedAuthorizationRequestEndpoint()).hasToString("https://provider.com/par");
assertThat(config.getUserInfoEndpoint()).hasToString("https://provider.com/user");
// OIDC Client Registration is disabled by default
// PAR endpoint and OIDC Client Registration are disabled by default
assertThat(config.getClientRegistrationEndpoint()).isNull();
assertThat(config.getPushedAuthorizationRequestEndpoint()).isNull();
}
@Test
@ -89,9 +89,9 @@ class SampleOAuth2AuthorizationServerApplicationTests { @@ -89,9 +89,9 @@ class SampleOAuth2AuthorizationServerApplicationTests {
assertThat(config.getJwkSetUrl()).hasToString("https://provider.com/jwks");
assertThat(config.getTokenRevocationEndpoint()).hasToString("https://provider.com/revoke");
assertThat(config.getTokenIntrospectionEndpoint()).hasToString("https://provider.com/introspect");
assertThat(config.getPushedAuthorizationRequestEndpoint()).hasToString("https://provider.com/par");
// OIDC Client Registration is disabled by default
// PAR endpoint and OIDC Client Registration are disabled by default
assertThat(config.getClientRegistrationEndpoint()).isNull();
assertThat(config.getPushedAuthorizationRequestEndpoint()).isNull();
}
@Test

Loading…
Cancel
Save