Skip to content

Commit 4b2861f

Browse files
committed
Disable tests broken by removal of ObjectPostProcessor
This can be reverted once a compatible Authorization Server snapshot is available. See gh-45492
1 parent e3ef438 commit 4b2861f

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

spring-boot-project/spring-boot-security-oauth2-authorization-server/src/test/java/org/springframework/boot/security/oauth2/server/authorization/autoconfigure/servlet/OAuth2AuthorizationServerAutoConfigurationTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package org.springframework.boot.security.oauth2.server.authorization.autoconfigure.servlet;
1818

19+
import org.junit.jupiter.api.Disabled;
1920
import org.junit.jupiter.api.Test;
2021

2122
import org.springframework.boot.autoconfigure.AutoConfigurations;
@@ -73,6 +74,7 @@ void registeredClientRepositoryBeanShouldNotBeCreatedWhenPropertiesAbsent() {
7374
}
7475

7576
@Test
77+
@Disabled("https://github.com/spring-projects/spring-security/commit/edb7a642c7747592c58d9013e178ab9595a392ed")
7678
void registeredClientRepositoryBeanShouldBeCreatedWhenPropertiesPresent() {
7779
this.contextRunner
7880
.withPropertyValues(CLIENT_PREFIX + ".foo.registration.client-id=abcd",
@@ -96,6 +98,7 @@ void registeredClientRepositoryBeanShouldBeCreatedWhenPropertiesPresent() {
9698
}
9799

98100
@Test
101+
@Disabled("https://github.com/spring-projects/spring-security/commit/edb7a642c7747592c58d9013e178ab9595a392ed")
99102
void registeredClientRepositoryBacksOffWhenRegisteredClientRepositoryBeanPresent() {
100103
this.contextRunner.withUserConfiguration(TestRegisteredClientRepositoryConfiguration.class)
101104
.withPropertyValues(CLIENT_PREFIX + ".foo.registration.client-id=abcd",

spring-boot-project/spring-boot-security-oauth2-authorization-server/src/test/java/org/springframework/boot/security/oauth2/server/authorization/autoconfigure/servlet/OAuth2AuthorizationServerWebSecurityConfigurationTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import java.util.List;
2020

2121
import jakarta.servlet.Filter;
22+
import org.junit.jupiter.api.Disabled;
2223
import org.junit.jupiter.api.Test;
2324

2425
import org.springframework.boot.test.context.assertj.AssertableWebApplicationContext;
@@ -69,6 +70,7 @@ class OAuth2AuthorizationServerWebSecurityConfigurationTests {
6970
private final WebApplicationContextRunner contextRunner = new WebApplicationContextRunner();
7071

7172
@Test
73+
@Disabled("https://github.com/spring-projects/spring-security/commit/edb7a642c7747592c58d9013e178ab9595a392ed")
7274
void webSecurityConfigurationConfiguresAuthorizationServerWithFormLogin() {
7375
this.contextRunner.withUserConfiguration(TestOAuth2AuthorizationServerConfiguration.class)
7476
.withPropertyValues(CLIENT_PREFIX + ".foo.registration.client-id=abcd",
@@ -97,6 +99,7 @@ void webSecurityConfigurationConfiguresAuthorizationServerWithFormLogin() {
9799
}
98100

99101
@Test
102+
@Disabled("https://github.com/spring-projects/spring-security/commit/edb7a642c7747592c58d9013e178ab9595a392ed")
100103
void securityFilterChainsBackOffWhenSecurityFilterChainBeanPresent() {
101104
this.contextRunner
102105
.withUserConfiguration(TestSecurityFilterChainConfiguration.class,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.util.Map;
2222
import java.util.Objects;
2323

24+
import org.junit.jupiter.api.Disabled;
2425
import org.junit.jupiter.api.Test;
2526

2627
import org.springframework.beans.factory.annotation.Autowired;
@@ -46,6 +47,7 @@
4647
import static org.assertj.core.api.Assertions.assertThat;
4748

4849
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
50+
@Disabled("https://github.com/spring-projects/spring-security/commit/edb7a642c7747592c58d9013e178ab9595a392ed")
4951
class SampleOAuth2AuthorizationServerApplicationTests {
5052

5153
private static final ParameterizedTypeReference<Map<String, Object>> MAP_TYPE_REFERENCE = new ParameterizedTypeReference<>() {

0 commit comments

Comments
 (0)