File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
dataregistry/src/test/java/org/fairdatapipeline/dataregistry/restclient Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4
4
import java .util .Collections ;
5
5
import org .fairdatapipeline .dataregistry .content .*;
6
6
import org .junit .jupiter .api .*;
7
+ import org .junit .jupiter .api .condition .EnabledIfEnvironmentVariable ;
7
8
8
- // @EnabledIfEnvironmentVariable(named = "LOCALREG", matches = "FRESHASADAISY")
9
+ @ EnabledIfEnvironmentVariable (named = "LOCALREG" , matches = "FRESHASADAISY" )
9
10
@ TestInstance (TestInstance .Lifecycle .PER_CLASS )
10
11
public class restClientTest {
11
12
String localReg = "http://localhost:8000/api/" ;
@@ -27,6 +28,7 @@ void create_author() {
27
28
}
28
29
}
29
30
31
+ @ Disabled ("enable this once registry has version checking" )
30
32
@ Test
31
33
public void wrongVersion () {
32
34
class RestClient_wv extends RestClient {
You can’t perform that action at this time.
0 commit comments