diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/client/ContextTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/client/ContextTest.java index 5fe7c77..5a3662c 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/client/ContextTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/client/ContextTest.java @@ -72,12 +72,12 @@ public class ContextTest { clientID = properties.getProperty(CLIENT_ID_PROPERTY_KEY); clientSecret = properties.getProperty(CLIENT_SECRET_PROPERTY_KEY); + RESOURCE_REGISTRY_URL = properties.getProperty(RESOURCE_REGISTRY_URL_PROPERTY); + } catch (IOException e) { throw new RuntimeException(e); } - RESOURCE_REGISTRY_URL = properties.getProperty(RESOURCE_REGISTRY_URL_PROPERTY); - } public static void set(Secret secret) throws Exception {