summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/test/java/org/onap
diff options
context:
space:
mode:
authorhekeguang <hekeguang@chinamobile.com>2022-09-19 15:42:50 +0800
committerhekeguang <hekeguang@chinamobile.com>2022-09-19 15:43:02 +0800
commite9b9b7f526101fbeb8742b8643b750e3ca6d72fd (patch)
tree32a8385add4ff7bfc1f7246799c20fe21983c923 /intentanalysis/src/test/java/org/onap
parent1766397175b5d170a209e3fdd11c5419bcf5ad92 (diff)
Add bug fix code.
Issue-ID: USECASEUI-696 Change-Id: I50981f768dd385773942278778e1aef60b085edc Signed-off-by: hekeguang <hekeguang@chinamobile.com>
Diffstat (limited to 'intentanalysis/src/test/java/org/onap')
-rw-r--r--intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentOperationServiceTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentOperationServiceTest.java b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentOperationServiceTest.java
index f2167e6..a806fb3 100644
--- a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentOperationServiceTest.java
+++ b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/intentBaseService/intentProcessService/IntentOperationServiceTest.java
@@ -83,7 +83,8 @@ public class IntentOperationServiceTest {
@Test
public void testIntentOperation() {
intentOperationService.setIntentRole(intentOwner, formatIntentInputManagementFunction);
- intentOperationService.operationProcess(intent);
+ IntentGoalBean intentGoalBean = new IntentGoalBean(intent,IntentGoalType.CREATE);
+ intentOperationService.operationProcess(intentGoalBean);
Assert.assertTrue(true);
}
} \ No newline at end of file