aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author’zhaoyh6‘ <zhaoyh6@asiainfo.com>2021-09-23 14:28:00 +0800
committer’zhaoyh6‘ <zhaoyh6@asiainfo.com>2021-09-23 14:28:19 +0800
commitb2cfbb5e7f39fe3ba1ff6cba507ba3e89c99d828 (patch)
treeb65961a90beead0c7edc8042128db5d7285e421c
parentbd772e79514f6a0109329d6feb7e99ba10d4b67a (diff)
feat:modify test file
Issue-ID: USECASEUI-605 Signed-off-by: ’zhaoyh6‘ <zhaoyh6@asiainfo.com> Change-Id: Ieb51bb45128cda940344b31fd370a8d35dbe122e
-rw-r--r--server/src/main/resources/application.properties2
-rw-r--r--server/src/test/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImplTest.java2
2 files changed, 1 insertions, 3 deletions
diff --git a/server/src/main/resources/application.properties b/server/src/main/resources/application.properties
index b27e3502..8d1d98da 100644
--- a/server/src/main/resources/application.properties
+++ b/server/src/main/resources/application.properties
@@ -20,7 +20,7 @@ spring.http.multipart.max-file-size=512MB
spring.http.multipart.max-request-size=512MB
## App DB Properties
-spring.datasource.url=jdbc:postgresql://localhost:5432/uui
+spring.datasource.url=jdbc:postgresql://10.21.19.55:5432/uui
spring.datasource.username=uui
spring.datasource.password=uui
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQL9Dialect
diff --git a/server/src/test/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImplTest.java b/server/src/test/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImplTest.java
index 372e0e15..c1e7bdd1 100644
--- a/server/src/test/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImplTest.java
+++ b/server/src/test/java/org/onap/usecaseui/server/service/intent/impl/IntentInstanceServiceImplTest.java
@@ -40,7 +40,6 @@ import org.onap.usecaseui.server.service.lcm.domain.so.bean.OperationProgress;
import org.onap.usecaseui.server.service.lcm.domain.so.bean.OperationProgressInformation;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.api.support.membermodification.MemberModifier;
-import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import static org.junit.Assert.*;
@@ -53,7 +52,6 @@ import retrofit2.Call;
import retrofit2.Response;
@RunWith(PowerMockRunner.class)
-@PrepareForTest({IntentInstanceServiceImpl.class})
public class IntentInstanceServiceImplTest {
public IntentInstanceServiceImplTest() {