diff --git a/drools-retediagram/pom.xml b/drools-retediagram/pom.xml
index e1b9122311d..4096b9c59de 100644
--- a/drools-retediagram/pom.xml
+++ b/drools-retediagram/pom.xml
@@ -74,10 +74,10 @@
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter
test
-
+
org.assertj
assertj-core
diff --git a/drools-retediagram/src/test/java/org/drools/retediagram/RuleTest.java b/drools-retediagram/src/test/java/org/drools/retediagram/RuleTest.java
index 1a34e81bd58..729eb6da06d 100644
--- a/drools-retediagram/src/test/java/org/drools/retediagram/RuleTest.java
+++ b/drools-retediagram/src/test/java/org/drools/retediagram/RuleTest.java
@@ -29,8 +29,8 @@
import org.drools.mvel.CommonTestMethodBase;
import org.drools.retediagram.ReteDiagram.Layout;
import org.drools.retediagram.model.Measurement;
-import org.junit.BeforeClass;
-import org.junit.Test;
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.Test;
import org.kie.api.KieBase;
import org.kie.api.event.rule.DebugAgendaEventListener;
import org.kie.api.io.ResourceType;
@@ -47,7 +47,7 @@
public class RuleTest extends CommonTestMethodBase {
static final Logger LOG = LoggerFactory.getLogger(RuleTest.class);
- @BeforeClass
+ @BeforeAll
public static void init() { // route dependencies using java util Logging to slf4j
SLF4JBridgeHandler.removeHandlersForRootLogger();
SLF4JBridgeHandler.install();