diff options
author | kaixiliu <liukaixi@chinamobile.com> | 2023-08-23 15:28:50 +0800 |
---|---|---|
committer | kaixiliu <liukaixi@chinamobile.com> | 2023-08-23 15:29:50 +0800 |
commit | 99ad19125b3e667cca2adfc7a30c2f5c1f4daf8c (patch) | |
tree | 7f8c10f49602c72034904c9196ce663d68993245 /intentanalysis/src/test | |
parent | 25c3ab069bf8e326d3a6a609b71db30e8d5f90f9 (diff) |
Optimize the logic for generating intention reports
Issue-ID: USECASEUI-819
Change-Id: I1578f690cb94097abe7d1e263f47b7c976b8555a
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Diffstat (limited to 'intentanalysis/src/test')
-rw-r--r-- | intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java | 4 |
1 files changed, 2 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 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(); |