Skip to content

Commit 9de2b94

Browse files
committed
Upgrade to AssertJ 3.27.1
1 parent e73e756 commit 9de2b94

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

framework-platform/framework-platform.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies {
1515
api(platform("io.rsocket:rsocket-bom:1.1.4"))
1616
api(platform("org.apache.groovy:groovy-bom:4.0.24"))
1717
api(platform("org.apache.logging.log4j:log4j-bom:2.21.1"))
18-
api(platform("org.assertj:assertj-bom:3.27.0"))
18+
api(platform("org.assertj:assertj-bom:3.27.1"))
1919
api(platform("org.eclipse.jetty:jetty-bom:12.0.15"))
2020
api(platform("org.eclipse.jetty.ee10:jetty-ee10-bom:12.0.15"))
2121
api(platform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.8.1"))

spring-aop/src/test/java/org/springframework/aop/framework/AbstractProxyExceptionHandlingTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void targetThrowsUndeclaredCheckedException() throws DeclaredCheckedException {
9999
assertThat(throwableSeenByInterceptor).isSameAs(undeclaredCheckedException);
100100
assertThat(throwableSeenByCaller)
101101
.isInstanceOf(UndeclaredThrowableException.class)
102-
.hasCauseReference(undeclaredCheckedException);
102+
.cause().isSameAs(undeclaredCheckedException);
103103
}
104104

105105
@Test
@@ -147,7 +147,7 @@ void targetThrowsUndeclaredCheckedException() throws DeclaredCheckedException {
147147
invokeProxy();
148148
assertThat(throwableSeenByCaller)
149149
.isInstanceOf(UndeclaredThrowableException.class)
150-
.hasCauseReference(undeclaredCheckedException);
150+
.cause().isSameAs(undeclaredCheckedException);
151151
}
152152

153153
@Test

0 commit comments

Comments
 (0)