aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/test/java')
-rw-r--r--app/src/test/java/org/onap/portalng/preferences/BaseIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/prefs/BaseIntegrationTest.java)10
-rw-r--r--app/src/test/java/org/onap/portalng/preferences/TokenGenerator.java (renamed from app/src/test/java/org/onap/portal/prefs/TokenGenerator.java)2
-rw-r--r--app/src/test/java/org/onap/portalng/preferences/actuator/ActuatorIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/prefs/actuator/ActuatorIntegrationTest.java)4
-rw-r--r--app/src/test/java/org/onap/portalng/preferences/preferences/PreferencesControllerIntegrationTest.java (renamed from app/src/test/java/org/onap/portal/prefs/preferences/PreferencesControllerIntegrationTest.java)8
4 files changed, 12 insertions, 12 deletions
diff --git a/app/src/test/java/org/onap/portal/prefs/BaseIntegrationTest.java b/app/src/test/java/org/onap/portalng/preferences/BaseIntegrationTest.java
index 104b683..df8da62 100644
--- a/app/src/test/java/org/onap/portal/prefs/BaseIntegrationTest.java
+++ b/app/src/test/java/org/onap/portalng/preferences/BaseIntegrationTest.java
@@ -19,13 +19,13 @@
*
*/
-package org.onap.portal.prefs;
+package org.onap.portalng.preferences;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.tomakehurst.wiremock.client.WireMock;
import com.nimbusds.jose.jwk.JWKSet;
-import org.onap.portal.prefs.util.IdTokenExchange;
-import org.onap.portal.prefs.configuration.PortalPrefsConfig;
+import org.onap.portalng.preferences.util.IdTokenExchange;
+import org.onap.portalng.preferences.configuration.PreferencesConfig;
import io.restassured.RestAssured;
import io.restassured.filter.log.RequestLoggingFilter;
import io.restassured.filter.log.ResponseLoggingFilter;
@@ -48,12 +48,12 @@ import java.util.UUID;
public abstract class BaseIntegrationTest {
@LocalServerPort protected int port;
- @Value("${portal-prefs.realm}")
+ @Value("${preferences.realm}")
protected String realm;
@Autowired protected ObjectMapper objectMapper;
@Autowired private TokenGenerator tokenGenerator;
- @Autowired protected PortalPrefsConfig portalPrefsConfig;
+ @Autowired protected PreferencesConfig preferencesConfig;
@BeforeAll
public static void setup() {
diff --git a/app/src/test/java/org/onap/portal/prefs/TokenGenerator.java b/app/src/test/java/org/onap/portalng/preferences/TokenGenerator.java
index fb3a522..30ddbdc 100644
--- a/app/src/test/java/org/onap/portal/prefs/TokenGenerator.java
+++ b/app/src/test/java/org/onap/portalng/preferences/TokenGenerator.java
@@ -19,7 +19,7 @@
*
*/
-package org.onap.portal.prefs;
+package org.onap.portalng.preferences;
import java.time.Clock;
import java.time.Duration;
diff --git a/app/src/test/java/org/onap/portal/prefs/actuator/ActuatorIntegrationTest.java b/app/src/test/java/org/onap/portalng/preferences/actuator/ActuatorIntegrationTest.java
index 95e9b2a..e8f22d6 100644
--- a/app/src/test/java/org/onap/portal/prefs/actuator/ActuatorIntegrationTest.java
+++ b/app/src/test/java/org/onap/portalng/preferences/actuator/ActuatorIntegrationTest.java
@@ -19,11 +19,11 @@
*
*/
-package org.onap.portal.prefs.actuator;
+package org.onap.portalng.preferences.actuator;
import static org.assertj.core.api.Assertions.assertThat;
-import org.onap.portal.prefs.BaseIntegrationTest;
+import org.onap.portalng.preferences.BaseIntegrationTest;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.availability.ApplicationAvailability;
diff --git a/app/src/test/java/org/onap/portal/prefs/preferences/PreferencesControllerIntegrationTest.java b/app/src/test/java/org/onap/portalng/preferences/preferences/PreferencesControllerIntegrationTest.java
index b5f4cf1..6eb1148 100644
--- a/app/src/test/java/org/onap/portal/prefs/preferences/PreferencesControllerIntegrationTest.java
+++ b/app/src/test/java/org/onap/portalng/preferences/preferences/PreferencesControllerIntegrationTest.java
@@ -19,14 +19,14 @@
*
*/
-package org.onap.portal.prefs.preferences;
+package org.onap.portalng.preferences.preferences;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.jupiter.api.Test;
-import org.onap.portal.prefs.BaseIntegrationTest;
-import org.onap.portal.prefs.openapi.model.Preferences;
-import org.onap.portal.prefs.services.PreferencesService;
+import org.onap.portalng.preferences.BaseIntegrationTest;
+import org.onap.portalng.preferences.openapi.model.Preferences;
+import org.onap.portalng.preferences.services.PreferencesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;