Skip to content

Commit 051f722

Browse files
committed
Update JUnit from version 4 to 5
JUnit 4 is discontinued and JUnit 6 cannot be used because it requires Java 17, but Fake SFTP Server Lambda's minimal Java version is 8. That is why JUnit 5 has been chosen.
1 parent b47ac40 commit 051f722

2 files changed

Lines changed: 109 additions & 92 deletions

File tree

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,18 @@
6464
<version>[2.8.0]</version>
6565
<scope>test</scope>
6666
</dependency>
67-
<dependency>
68-
<groupId>junit</groupId>
69-
<artifactId>junit</artifactId>
70-
<version>[4.13.2]</version>
71-
<scope>test</scope>
72-
</dependency>
7367
<dependency>
7468
<groupId>org.assertj</groupId>
7569
<artifactId>assertj-core</artifactId>
7670
<version>[3.19.0]</version>
7771
<scope>test</scope>
7872
</dependency>
73+
<dependency>
74+
<groupId>org.junit.jupiter</groupId>
75+
<artifactId>junit-jupiter</artifactId>
76+
<version>[5.14.2]</version>
77+
<scope>test</scope>
78+
</dependency>
7979
<dependency>
8080
<groupId>org.slf4j</groupId>
8181
<artifactId>slf4j-nop</artifactId>

0 commit comments

Comments
 (0)