File tree Expand file tree Collapse file tree 4 files changed +21
-2
lines changed
spring-cloud-stream-schema-registry-core
src/test/java/org/springframework/cloud/stream/schema/registry/entityScanning
spring-cloud-stream-schema-registry-server
src/test/java/org/springframework/cloud/stream/schema/registry/server Expand file tree Collapse file tree 4 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 4141 <groupId >com.fasterxml.jackson.core</groupId >
4242 <artifactId >jackson-databind</artifactId >
4343 </dependency >
44+ <dependency >
45+ <groupId >org.springframework.boot</groupId >
46+ <artifactId >spring-boot-starter-data-jdbc-test</artifactId >
47+ <scope >test</scope >
48+ </dependency >
4449 </dependencies >
4550
4651</project >
Original file line number Diff line number Diff line change 1919import org .junit .jupiter .api .Test ;
2020
2121import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
22- import org .springframework .boot .test .autoconfigure . jdbc .AutoConfigureTestDatabase ;
22+ import org .springframework .boot .jdbc . test .autoconfigure .AutoConfigureTestDatabase ;
2323import org .springframework .boot .test .context .SpringBootTest ;
2424import org .springframework .cloud .stream .schema .registry .config .SchemaServerConfiguration ;
2525import org .springframework .http .MediaType ;
Original file line number Diff line number Diff line change 4747 <artifactId >spring-boot-restclient</artifactId >
4848 <scope >test</scope >
4949 </dependency >
50+ <dependency >
51+ <groupId >org.springframework.boot</groupId >
52+ <artifactId >spring-boot-resttestclient</artifactId >
53+ <scope >test</scope >
54+ </dependency >
55+ <dependency >
56+ <groupId >org.springframework.boot</groupId >
57+ <artifactId >spring-boot-webmvc-test</artifactId >
58+ <scope >test</scope >
59+ </dependency >
60+ <dependency >
61+ <groupId >org.springframework.boot</groupId >
62+ <artifactId >spring-boot-webtestclient</artifactId >
63+ </dependency >
5064 </dependencies >
5165
5266
Original file line number Diff line number Diff line change 3737import org .springframework .beans .factory .annotation .Autowired ;
3838import org .springframework .boot .test .context .SpringBootTest ;
3939import org .springframework .boot .web .server .autoconfigure .ServerProperties ;
40- import org .springframework .boot .web .server .test .client .TestRestTemplate ;
4140import org .springframework .cloud .stream .schema .registry .config .SchemaServerProperties ;
4241import org .springframework .cloud .stream .schema .registry .controllers .ServerController ;
4342import org .springframework .cloud .stream .schema .registry .model .Schema ;
5756import org .springframework .web .client .DefaultResponseErrorHandler ;
5857import org .springframework .web .client .HttpClientErrorException ;
5958import org .springframework .web .util .UriComponentsBuilder ;
59+ import org .springframework .boot .resttestclient .TestRestTemplate ;
6060
6161import static java .util .stream .Collectors .toList ;
6262import static org .assertj .core .api .Assertions .assertThat ;
You can’t perform that action at this time.
0 commit comments