From 28aa29f66de909223bd67da717fdd810df735afc Mon Sep 17 00:00:00 2001 From: xuegao Date: Mon, 4 May 2020 15:33:06 +0200 Subject: Add unit test Add unit tests to improve code coverage. Issue-ID: CLAMP-844 Change-Id: I7792212d476103086e063cf8fe4a9abed1294fd6 Signed-off-by: xuegao --- ui-react/src/api/LoopCache_mokeLoopJsonCache.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ui-react/src/api/LoopCache_mokeLoopJsonCache.json') diff --git a/ui-react/src/api/LoopCache_mokeLoopJsonCache.json b/ui-react/src/api/LoopCache_mokeLoopJsonCache.json index 788306b8..cb9ed87b 100644 --- a/ui-react/src/api/LoopCache_mokeLoopJsonCache.json +++ b/ui-react/src/api/LoopCache_mokeLoopJsonCache.json @@ -8,6 +8,7 @@ "policy_id": "TCA_h2NMX_v1_0_ResourceInstanceName1_tca" } }, + "loopTemplate": {"name": "loopTemplateTest"}, "modelService": { "serviceDetails": { "serviceType": "", @@ -93,6 +94,8 @@ "policies": [] } }, + "pdpGroup": "pdpGroupTest", + "pdpSubgroup": "pdpSubgroupTest", "jsonRepresentation": { "schema": {} } @@ -104,6 +107,9 @@ "modelType": "onap.policies.monitoring.cdap.tca.hi.lo.app", "configurationsJson": {"domain": "measurementsForVfScaling"}, "shared": false, + "pdpGroup": "pdpGroupTest", + "pdpSubgroup": "pdpSubgroupTest", + "policyModel": {"policyPdpGroup": {"supportedPdpGroups": "supportedPdpGroupsTest"}}, "jsonRepresentation": {"schema": {}} } ], -- cgit 1.2.3-korg