From 196907d4deec3e39f84afff324ffbe0bcd110837 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 9 Feb 2023 17:57:59 +0100 Subject: [PATCH] Fixed ContextTest --- .../resourceregistry/client/ContextTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {