From 99ad19125b3e667cca2adfc7a30c2f5c1f4daf8c Mon Sep 17 00:00:00 2001 From: kaixiliu Date: Wed, 23 Aug 2023 15:28:50 +0800 Subject: Optimize the logic for generating intention reports Issue-ID: USECASEUI-819 Change-Id: I1578f690cb94097abe7d1e263f47b7c976b8555a Signed-off-by: kaixiliu --- .../clldeliverymodule/CLLDeliveryActuationModuleTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intentanalysis/src/test') 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 37a8b79..c88070f 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 @@ -20,16 +20,15 @@ import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; -import org.mockito.MockedStatic; import org.mockito.Mockito; import org.onap.usecaseui.intentanalysis.IntentAnalysisApplicationTests; import org.onap.usecaseui.intentanalysis.adapters.so.SOService; +import org.onap.usecaseui.intentanalysis.bean.enums.ExpectationType; import org.onap.usecaseui.intentanalysis.bean.enums.IntentGoalType; import org.onap.usecaseui.intentanalysis.bean.models.*; import org.onap.usecaseui.intentanalysis.service.ContextService; import org.onap.usecaseui.intentanalysis.service.ExpectationObjectService; import org.onap.usecaseui.intentanalysis.service.ExpectationService; -import org.onap.usecaseui.intentanalysis.util.HttpUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @@ -73,6 +72,7 @@ public class CLLDeliveryActuationModuleTest { deliveryExpectationObject.setObjectInstance("deliveryObjectInstance"); deliveryExpectation.setExpectationObject(deliveryExpectationObject); + deliveryExpectation.setExpectationType(ExpectationType.DELIVERY); gbExpectationList.add(deliveryExpectation); intentGoalBean.setIntentGoalType(IntentGoalType.CREATE); Intent intent =new Intent(); -- cgit 1.2.3-korg