Replacing cloud.test.TestSocketUtils

Now utilizing the one provided by the spring framework
This commit is contained in:
Glenn Renfro
2022-11-28 20:45:36 -05:00
parent 8a8bcc65bc
commit 6d17f8dedb
10 changed files with 14 additions and 9 deletions

View File

@@ -34,12 +34,12 @@ import org.junit.jupiter.api.Test;
//import org.springframework.batch.test.AssertFile;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.jdbc.DataSourceBuilder;
import org.springframework.cloud.test.TestSocketUtils;
import org.springframework.core.io.ClassPathResource;
//import org.springframework.core.io.FileSystemResource;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
import org.springframework.jdbc.datasource.init.ResourceDatabasePopulator;
import org.springframework.test.util.TestSocketUtils;
import static org.assertj.core.api.Assertions.assertThat;