From 85b4362ec6217300958607f54a8aeb816fe21949 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 15 Aug 2023 17:08:29 +0200 Subject: [PATCH] Adapt to change in Spring Framework snapshots --- .../autoconfigure/jdbc/JdbcClientAutoConfigurationTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/JdbcClientAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/JdbcClientAutoConfigurationTests.java index 4fa13d6922..0430b4f8f7 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/JdbcClientAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/JdbcClientAutoConfigurationTests.java @@ -89,10 +89,10 @@ class JdbcClientAutoConfigurationTests { static class JdbcClientDataSourceMigrationValidator { - private final Integer count; + private final Long count; JdbcClientDataSourceMigrationValidator(JdbcClient jdbcClient) { - this.count = jdbcClient.sql("SELECT COUNT(*) from CITY").query().singleValue(Integer.class); + this.count = jdbcClient.sql("SELECT COUNT(*) from CITY").query().singleValue(); } }