diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-authorization-server/src/test/java/smoketest/oauth2/server/SampleOAuth2AuthorizationServerApplicationTests.java b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-authorization-server/src/test/java/smoketest/oauth2/server/SampleOAuth2AuthorizationServerApplicationTests.java index e6193137a62..dd5e6d18e6a 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-authorization-server/src/test/java/smoketest/oauth2/server/SampleOAuth2AuthorizationServerApplicationTests.java +++ b/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 { 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 { 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