File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/test/java/guides/hazelcast/springboot Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1111 <parent >
1212 <groupId >org.springframework.boot</groupId >
1313 <artifactId >spring-boot-starter-parent</artifactId >
14- <version >2.3.5.RELEASE </version >
14+ <version >2.4.0 </version >
1515 <relativePath />
1616 </parent >
1717
Original file line number Diff line number Diff line change 22
33import com .hazelcast .core .Hazelcast ;
44import com .hazelcast .core .HazelcastInstance ;
5- import org .junit .Test ;
6- import org .junit .runner . RunWith ;
5+ import org .junit .jupiter . api . Test ;
6+ import org .junit .jupiter . api . extension . ExtendWith ;
77import org .springframework .beans .factory .annotation .Autowired ;
88import org .springframework .boot .test .context .SpringBootTest ;
9- import org .springframework .test .context .junit4 . SpringRunner ;
9+ import org .springframework .test .context .junit . jupiter . SpringExtension ;
1010import org .springframework .test .web .reactive .server .WebTestClient ;
1111
12- import static org .junit .Assert .assertEquals ;
12+ import static org .junit .jupiter . api . Assertions .assertEquals ;
1313import static org .springframework .http .HttpHeaders .ACCEPT ;
1414import static org .springframework .http .MediaType .APPLICATION_JSON ;
1515import static org .springframework .http .MediaType .APPLICATION_JSON_VALUE ;
1616
17- @ RunWith ( SpringRunner .class )
17+ @ ExtendWith ( SpringExtension .class )
1818@ SpringBootTest (webEnvironment = SpringBootTest .WebEnvironment .RANDOM_PORT )
1919public class CommandControllerIT {
2020 @ Autowired
You can’t perform that action at this time.
0 commit comments