diff --git a/parodos-model-api/pom.xml b/parodos-model-api/pom.xml
index 190cde1e6..2c7c16685 100644
--- a/parodos-model-api/pom.xml
+++ b/parodos-model-api/pom.xml
@@ -60,6 +60,12 @@
org.assertj
assertj-core
+
+ org.junit.jupiter
+ junit-jupiter-api
+ 5.8.2
+ test
+
diff --git a/parodos-model-api/src/test/java/com/redhat/parodos/workflow/parameter/WorkParameterTest.java b/parodos-model-api/src/test/java/com/redhat/parodos/workflow/parameter/WorkParameterTest.java
index 227294d36..c3b063838 100644
--- a/parodos-model-api/src/test/java/com/redhat/parodos/workflow/parameter/WorkParameterTest.java
+++ b/parodos-model-api/src/test/java/com/redhat/parodos/workflow/parameter/WorkParameterTest.java
@@ -2,9 +2,12 @@
import java.util.Map;
-import junit.framework.TestCase;
+import org.junit.jupiter.api.Test;
-public class WorkParameterTest extends TestCase {
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+
+public class WorkParameterTest {
private static final String VALUE_PROVIDER_NAME = "valueProviderName";
@@ -12,6 +15,7 @@ public class WorkParameterTest extends TestCase {
String description = "key description";
+ @Test
public void testGetAsJsonSchemaWithValidData() {
// given
@@ -29,6 +33,7 @@ public void testGetAsJsonSchemaWithValidData() {
assertEquals(result.get("required"), true);
}
+ @Test
public void testGetAsJsonSchemaWithoutType() {
// given
WorkParameter parameters = WorkParameter.builder().key(key).description(description).build();
diff --git a/parodos-model-api/src/test/java/com/redhat/parodos/workflow/parameter/WorkParameterTypeTest.java b/parodos-model-api/src/test/java/com/redhat/parodos/workflow/parameter/WorkParameterTypeTest.java
index cbe542ca9..6e258856c 100644
--- a/parodos-model-api/src/test/java/com/redhat/parodos/workflow/parameter/WorkParameterTypeTest.java
+++ b/parodos-model-api/src/test/java/com/redhat/parodos/workflow/parameter/WorkParameterTypeTest.java
@@ -5,10 +5,12 @@
import java.util.List;
import java.util.Map;
-import junit.framework.TestCase;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
-public class WorkParameterTypeTest extends TestCase {
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+public class WorkParameterTypeTest {
@Test
public void testJsonSchema() {