diff options
author | Neil Derraugh <neil.derraugh@yoppworks.com> | 2020-05-20 23:59:37 -0400 |
---|---|---|
committer | Neil Derraugh <neil.derraugh@yoppworks.com> | 2020-05-31 12:48:38 -0400 |
commit | 95bdca4419af09c4eeab5562589ea6baf9a4490d (patch) | |
tree | a91c2e9869c3e9f4849026503703e33d80870aa0 /pom.xml | |
parent | 74dc5044f00a113eef41b345390f8c266112b2d7 (diff) |
Upgrade Junit to 5.6
- Update @Before -> @BeforeEach, @After -> @AfterEach
- Update Mockito usage
- Update assertThrows so not to expect exceptions
Issue-ID: SDC-3078
Signed-off-by: Neil Derraugh <neil.derraugh@yoppworks.com>
Change-Id: I0b1056698767c4b060e243bbda799253072b4b55
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -40,7 +40,7 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <mockito.version>2.23.4</mockito.version> - <junit.version>4.12</junit.version> + <junit.jupiter.version>5.6.0</junit.jupiter.version> <logging-slf4j.version>1.5.0</logging-slf4j.version> <maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version> <snapshots.path>snapshots</snapshots.path> @@ -102,9 +102,9 @@ <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>${junit.version}</version> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter</artifactId> + <version>${junit.jupiter.version}</version> <scope>test</scope> </dependency> <dependency> |