Skip to content

Commit 1072c47

Browse files
committed
Fix tests after dependency upgrades.
See #1541
1 parent 86b2ccf commit 1072c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-data-jdbc/src/test/java/org/springframework/data/jdbc/repository/support/JdbcQueryLookupStrategyUnitTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
import org.junit.jupiter.api.BeforeEach;
2727
import org.junit.jupiter.api.Test;
28-
2928
import org.junit.jupiter.params.ParameterizedTest;
3029
import org.junit.jupiter.params.provider.Arguments;
3130
import org.junit.jupiter.params.provider.MethodSource;
@@ -78,6 +77,7 @@ void setup() {
7877

7978
doReturn(NumberFormat.class).when(metadata).getReturnedDomainClass(any(Method.class));
8079
doReturn(ClassTypeInformation.from(NumberFormat.class)).when(metadata).getReturnType(any(Method.class));
80+
doReturn(ClassTypeInformation.from(NumberFormat.class)).when(metadata).getDomainTypeInformation();
8181
}
8282

8383
@Test // DATAJDBC-166

0 commit comments

Comments
 (0)