From 76fb48762358dc243e8a86ab97eb3fab7ed9e5cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Chicchiricc=C3=B2?= Date: Mon, 18 Nov 2024 08:35:37 +0100 Subject: [PATCH] Fixing Connector archetype --- .../archetype/src/main/resources/archetype-resources/pom.xml | 5 +++-- .../src/test/java/SampleConnectorTests.java | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/java/archetype/src/main/resources/archetype-resources/pom.xml b/java/archetype/src/main/resources/archetype-resources/pom.xml index 04a9ee5b..34b88d37 100644 --- a/java/archetype/src/main/resources/archetype-resources/pom.xml +++ b/java/archetype/src/main/resources/archetype-resources/pom.xml @@ -65,8 +65,9 @@ test - junit - junit + org.junit.jupiter + junit-jupiter + ${junit.version} test diff --git a/java/archetype/src/main/resources/archetype-resources/src/test/java/SampleConnectorTests.java b/java/archetype/src/main/resources/archetype-resources/src/test/java/SampleConnectorTests.java index d82c90f1..94fc2c16 100644 --- a/java/archetype/src/main/resources/archetype-resources/src/test/java/SampleConnectorTests.java +++ b/java/archetype/src/main/resources/archetype-resources/src/test/java/SampleConnectorTests.java @@ -3,7 +3,7 @@ #set( $symbol_escape = '\' ) package ${package}; -import static org.junit.Assert.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertNotNull; import java.util.Collections; import org.identityconnectors.framework.api.APIConfiguration; @@ -14,7 +14,7 @@ import org.identityconnectors.framework.common.objects.OperationOptionsBuilder; import org.identityconnectors.framework.common.objects.Uid; import org.identityconnectors.test.common.TestHelpers; -import org.junit.Test; +import org.junit.jupiter.api.Test; public class SampleConnectorTests {