Skip to content

Commit b11f7f1

Browse files
committed
disable version check test until registry has versioning included
1 parent 0bfcd3c commit b11f7f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dataregistry/src/test/java/org/fairdatapipeline/dataregistry/restclient/restClientTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
import java.util.Collections;
55
import org.fairdatapipeline.dataregistry.content.*;
66
import org.junit.jupiter.api.*;
7+
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
78

8-
// @EnabledIfEnvironmentVariable(named = "LOCALREG", matches = "FRESHASADAISY")
9+
@EnabledIfEnvironmentVariable(named = "LOCALREG", matches = "FRESHASADAISY")
910
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
1011
public class restClientTest {
1112
String localReg = "http://localhost:8000/api/";
@@ -27,6 +28,7 @@ void create_author() {
2728
}
2829
}
2930

31+
@Disabled("enable this once registry has version checking")
3032
@Test
3133
public void wrongVersion() {
3234
class RestClient_wv extends RestClient {

0 commit comments

Comments
 (0)