aboutsummaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java
diff options
context:
space:
mode:
authorkaixiliu <liukaixi@chinamobile.com>2023-08-29 10:45:18 +0800
committerkaixiliu <liukaixi@chinamobile.com>2023-08-29 10:45:56 +0800
commitb32a2d2af10287b1420f8c54b6a90b6aeabff12f (patch)
tree754e63eb3a7fed43304ac4cc71c2b1c511deea71 /intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java
parentd87439a9b1e844c130ab1581e3fd174f401a498d (diff)
Modify Intent Model
Issue-ID: USECASEUI-819 Change-Id: I63041d772aac1e4591d2f8d71be7f699c25be3a1 Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Diffstat (limited to 'intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java')
-rw-r--r--intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java
index c88070f..245752a 100644
--- a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java
+++ b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java
@@ -34,6 +34,7 @@ import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import java.util.ArrayList;
+import java.util.Collections;
import java.util.List;
import static org.mockito.ArgumentMatchers.any;
@@ -60,7 +61,7 @@ public class CLLDeliveryActuationModuleTest {
List<Expectation> expectationList = new ArrayList<>();
Expectation exp = new Expectation();
ExpectationObject expectationObject = new ExpectationObject();
- expectationObject.setObjectInstance("objectInstance");
+ expectationObject.setObjectInstance(Collections.singletonList("objectInstance"));
exp.setExpectationObject(expectationObject);
expectationList.add(exp);
originalIntent.setIntentExpectations(expectationList);
@@ -69,7 +70,7 @@ public class CLLDeliveryActuationModuleTest {
Expectation deliveryExpectation = new Expectation();
ExpectationObject deliveryExpectationObject = new ExpectationObject();
- deliveryExpectationObject.setObjectInstance("deliveryObjectInstance");
+ deliveryExpectationObject.setObjectInstance(Collections.singletonList("deliveryObjectInstance"));
deliveryExpectation.setExpectationObject(deliveryExpectationObject);
deliveryExpectation.setExpectationType(ExpectationType.DELIVERY);