From 46009213b11de3dca0b17c15465d644b43ddfea5 Mon Sep 17 00:00:00 2001 From: Sally MacFarlane Date: Fri, 9 Jun 2023 15:01:47 +1000 Subject: [PATCH] migrate to junit5 (#5572) Signed-off-by: Sally MacFarlane --- datatypes/build.gradle | 1 - .../src/test/java/org/hyperledger/besu/datatypes/HashTest.java | 2 +- .../src/test/java/org/hyperledger/besu/datatypes/WeiTest.java | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/datatypes/build.gradle b/datatypes/build.gradle index b44a18540f..a55bf4e45c 100644 --- a/datatypes/build.gradle +++ b/datatypes/build.gradle @@ -37,7 +37,6 @@ dependencies { implementation 'io.tmio:tuweni-bytes' implementation 'io.tmio:tuweni-units' - testImplementation 'junit:junit' testImplementation 'org.assertj:assertj-core' testImplementation 'org.junit.jupiter:junit-jupiter' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine' diff --git a/datatypes/src/test/java/org/hyperledger/besu/datatypes/HashTest.java b/datatypes/src/test/java/org/hyperledger/besu/datatypes/HashTest.java index 10172b69cf..1ae3b8c14e 100644 --- a/datatypes/src/test/java/org/hyperledger/besu/datatypes/HashTest.java +++ b/datatypes/src/test/java/org/hyperledger/besu/datatypes/HashTest.java @@ -16,7 +16,7 @@ package org.hyperledger.besu.datatypes; import static org.assertj.core.api.Assertions.assertThat; -import org.junit.Test; +import org.junit.jupiter.api.Test; public class HashTest { diff --git a/datatypes/src/test/java/org/hyperledger/besu/datatypes/WeiTest.java b/datatypes/src/test/java/org/hyperledger/besu/datatypes/WeiTest.java index aa9a82b911..1d1b38819a 100644 --- a/datatypes/src/test/java/org/hyperledger/besu/datatypes/WeiTest.java +++ b/datatypes/src/test/java/org/hyperledger/besu/datatypes/WeiTest.java @@ -19,7 +19,7 @@ import static org.assertj.core.api.Assertions.assertThat; import java.math.BigInteger; import java.util.Arrays; -import org.junit.Test; +import org.junit.jupiter.api.Test; public class WeiTest {