aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common/src/test/groovy
diff options
context:
space:
mode:
authorsanket12345 <SX00562924@techmahindra.com>2021-07-29 14:59:01 +0530
committerSANKET KS <sx00562924@techmahindra.com>2021-08-17 06:25:15 +0000
commit12d11c2c6fe356d00dfb8a324f4e6ef8726a1aca (patch)
treeba343d592bf96ef58e94b1873dd0523b32c249d7 /bpmn/so-bpmn-infrastructure-common/src/test/groovy
parent3d8768d468510462c85008ded35dddc272a1b060 (diff)
Fix Relationship update b/w core NSSI and its Sliceprofile
Code changes to fix issues observed during testing for: - Core Allocate - Core Activate Issue-ID: SO-3605 Signed-off-by: sanket12345 <SX00562924@techmahindra.com> Change-Id: I88f22f115c119d713f42f0a800aeb8320d7c9ade
Diffstat (limited to 'bpmn/so-bpmn-infrastructure-common/src/test/groovy')
-rw-r--r--bpmn/so-bpmn-infrastructure-common/src/test/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateCoreNSSITest.groovy12
1 files changed, 0 insertions, 12 deletions
diff --git a/bpmn/so-bpmn-infrastructure-common/src/test/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateCoreNSSITest.groovy b/bpmn/so-bpmn-infrastructure-common/src/test/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateCoreNSSITest.groovy
index e4c6fe5f60..b32b96b123 100644
--- a/bpmn/so-bpmn-infrastructure-common/src/test/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateCoreNSSITest.groovy
+++ b/bpmn/so-bpmn-infrastructure-common/src/test/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateCoreNSSITest.groovy
@@ -136,18 +136,6 @@ class DoActivateCoreNSSITest extends MsoGroovyTest {
Mockito.verify(mockExecution, times(1)).setVariable(eq("vnfId"), captor.capture())
assertEquals("eeb66c6f-36bd-47ad-8294-48f46b1aa912", captor.getValue())
- Mockito.verify(mockExecution, times(1)).setVariable(eq("snssaiAndOrchStatusList"), captor.capture())
- List<Map<String, Object>> snssaiList = new ArrayList<>()
- Map<String, Object> snssaiMap = new LinkedHashMap<>()
- snssaiMap.put("snssai", "01-5C83F071")
- snssaiMap.put("status", "activated")
- snssaiList.add(snssaiMap)
- Map<String, Object> snssaiMap1 = new LinkedHashMap<>()
- snssaiMap1.put("snssai", "01-5B179BD4")
- snssaiMap1.put("status", "activated")
- snssaiList.add(snssaiMap1)
- assertEquals(snssaiList, captor.getValue())
-
//Verify Project
Mockito.verify(mockExecution, times(1)).setVariable(eq("projectName"), captor.capture())
assertEquals("Project-generic", captor.getValue())