Skip to content

Commit ca6d6f0

Browse files
authored
Merge pull request #19 from hazelcast-guides/spring-starter-bump
Upgrade spring starter version.
2 parents 6bad183 + 10e366d commit ca6d6f0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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

src/test/java/guides/hazelcast/springboot/CommandControllerIT.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
import com.hazelcast.core.Hazelcast;
44
import 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;
77
import org.springframework.beans.factory.annotation.Autowired;
88
import org.springframework.boot.test.context.SpringBootTest;
9-
import org.springframework.test.context.junit4.SpringRunner;
9+
import org.springframework.test.context.junit.jupiter.SpringExtension;
1010
import org.springframework.test.web.reactive.server.WebTestClient;
1111

12-
import static org.junit.Assert.assertEquals;
12+
import static org.junit.jupiter.api.Assertions.assertEquals;
1313
import static org.springframework.http.HttpHeaders.ACCEPT;
1414
import static org.springframework.http.MediaType.APPLICATION_JSON;
1515
import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
1616

17-
@RunWith(SpringRunner.class)
17+
@ExtendWith(SpringExtension.class)
1818
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
1919
public class CommandControllerIT {
2020
@Autowired

0 commit comments

Comments
 (0)