aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/test')
-rw-r--r--app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java4
-rw-r--r--app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java2
-rw-r--r--app/src/test/resources/application.yml3
3 files changed, 4 insertions, 5 deletions
diff --git a/app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java b/app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java
index 866ce33..feee00c 100644
--- a/app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java
+++ b/app/src/test/java/org/onap/portal/history/BaseIntegrationTest.java
@@ -55,10 +55,10 @@ public abstract class BaseIntegrationTest {
// }
@LocalServerPort protected int port;
- @Value("${portal-history.realm}")
+ @Value("${history.realm}")
protected String realm;
- @Value("${portal-history.delete-interval}")
+ @Value("${history.delete-interval}")
protected String deleteInterval;
@Autowired protected ObjectMapper objectMapper;
diff --git a/app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java b/app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java
index c5fa17b..feab695 100644
--- a/app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java
+++ b/app/src/test/java/org/onap/portal/history/actions/ActionsControllerIntegrationTest.java
@@ -60,7 +60,7 @@ class ActionsControllerIntegrationTest extends BaseIntegrationTest {
@Autowired
private ActionsRepository repository;
- // @Value("${portal-history.save-interval}")
+ // @Value("${history.save-interval}")
protected Integer saveInterval = 72;
@BeforeEach
diff --git a/app/src/test/resources/application.yml b/app/src/test/resources/application.yml
index df38a79..db0d057 100644
--- a/app/src/test/resources/application.yml
+++ b/app/src/test/resources/application.yml
@@ -19,7 +19,7 @@ de:
embedded:
version: 5.0.15
-portal-history:
+history:
realm: ONAP
save-interval: 72
delete-interval: '0 0 0 1 1 *'
@@ -38,4 +38,3 @@ management:
enabled: true
java:
enabled: true
-