Skip to content

Commit 4f49284

Browse files
committed
Removed @disabled from Core tests
1 parent 1df8740 commit 4f49284

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/java/suite/core/CoreRefreshTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
import com.fasterxml.jackson.databind.JsonNode;
55
import com.fasterxml.jackson.databind.node.ArrayNode;
66
import common.JsonAssert;
7-
import org.junit.jupiter.api.Disabled;
7+
import org.junit.jupiter.api.condition.EnabledIf;
88
import org.junit.jupiter.params.ParameterizedTest;
99
import org.junit.jupiter.params.provider.MethodSource;
1010

1111
import java.util.List;
1212

1313
import static org.junit.jupiter.api.Assertions.*;
1414

15-
@Disabled
15+
@EnabledIf("helper.EnabledCondition#isLocal")
1616
public class CoreRefreshTest {
1717
@ParameterizedTest(name = "Refresh test - UrlPath: {1} - JsonPath: {2}")
1818
@MethodSource({"suite.core.TestData#refreshArgs", "suite.core.TestData#refreshArgsEncrypted"})

src/test/java/suite/core/CoreTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
import com.uid2.shared.attest.JwtService;
77
import com.uid2.shared.attest.JwtValidationResponse;
88
import io.vertx.core.json.JsonObject;
9-
import org.junit.jupiter.api.Disabled;
9+
import org.junit.jupiter.api.condition.EnabledIf;
1010
import org.junit.jupiter.params.ParameterizedTest;
1111
import org.junit.jupiter.params.provider.MethodSource;
1212

1313
import static org.junit.jupiter.api.Assertions.*;
1414

15-
@Disabled
15+
@EnabledIf("helper.EnabledCondition#isLocal")
1616
public class CoreTest {
1717
@ParameterizedTest(name = "/attest - {0}")
1818
@MethodSource({

0 commit comments

Comments
 (0)