We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c2bd0 commit 28cc9afCopy full SHA for 28cc9af
src/test/java/com/hsbc/simpleapi/SimpleApiApplicationTests.java
@@ -1,16 +1,17 @@
1
package com.hsbc.simpleapi;
2
3
-import org.junit.Test;
4
-import org.junit.runner.RunWith;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
5
+
6
import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.context.junit4.SpringRunner;
7
+import org.springframework.test.context.junit.jupiter.SpringExtension;
8
-@RunWith(SpringRunner.class)
9
+@ExtendWith(SpringExtension.class)
10
@SpringBootTest
-public class SimpleApiApplicationTests {
11
+class SimpleApiApplicationTests {
12
13
@Test
- public void contextLoads() {
14
+ void contextLoads() {
15
}
16
17
0 commit comments