From a7ec33b8d005b7ccf5329b7daa76e29fe080728c Mon Sep 17 00:00:00 2001
From: reinaortega <miguelangel.reinaortega@etsi.org>
Date: Tue, 17 Jul 2018 21:33:12 +0200
Subject: [PATCH] Fix #50

Signed-off-by: reinaortega <miguelangel.reinaortega@etsi.org>
---
 OneM2M_Testcases_CSE_Release_1.ttcn | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/OneM2M_Testcases_CSE_Release_1.ttcn b/OneM2M_Testcases_CSE_Release_1.ttcn
index 435fb83..8a3d075 100644
--- a/OneM2M_Testcases_CSE_Release_1.ttcn
+++ b/OneM2M_Testcases_CSE_Release_1.ttcn
@@ -7105,7 +7105,7 @@ module OneM2M_Testcases_CSE_Release_1 {
 							 //Check attribute 1
 							 if(ispresent(v_responsePrimitive.primitiveContent)) {
 								 if(ischosen(v_responsePrimitive.primitiveContent.aE)) {
-									 if(v_responsePrimitive.primitiveContent.aE.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.node.accessControlPolicyIDs)){
+									 if(v_responsePrimitive.primitiveContent.aE.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.aE.accessControlPolicyIDs)){
 										 setverdict(fail, __SCOPE__, ": Error: Access control policy IDs attribute not updated correctly")
 									 }
 								 }
@@ -7114,7 +7114,7 @@ module OneM2M_Testcases_CSE_Release_1 {
  
 							 //Check that the resource has been udpated correctly
 							  if(ischosen(v_primitiveContentRetrieveResource.aE)) {
-							   if(v_primitiveContentRetrieveResource.aE.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.node.accessControlPolicyIDs)){
+							   if(v_primitiveContentRetrieveResource.aE.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.aE.accessControlPolicyIDs)){
 								setverdict(fail, __SCOPE__ & ": Error: Access control policy IDs attribute not updated correctly")
 							  }
 							}
@@ -7243,7 +7243,7 @@ module OneM2M_Testcases_CSE_Release_1 {
 							 //Check attribute 1
 							 if(ispresent(v_responsePrimitive.primitiveContent)) {
 								 if(ischosen(v_responsePrimitive.primitiveContent.container)) {
-									 if(v_responsePrimitive.primitiveContent.container.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.node.accessControlPolicyIDs)){
+									 if(v_responsePrimitive.primitiveContent.container.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.container.accessControlPolicyIDs)){
 										 setverdict(fail, __SCOPE__, ": Error: Access Control Policy IDs attribute not updated correctly")
 									 }
 								 }
@@ -7252,7 +7252,7 @@ module OneM2M_Testcases_CSE_Release_1 {
 	 
 							  //Check that the resource has been udpated correctly
 							  if(ischosen(v_primitiveContentRetrieveResource.container)) {
-							   if(v_primitiveContentRetrieveResource.container.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.node.accessControlPolicyIDs)){
+							   if(v_primitiveContentRetrieveResource.container.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.container.accessControlPolicyIDs)){
 								setverdict(fail, __SCOPE__ & ": Error: Access Control Policy IDs attribute not updated correctly")
 							  }
 							}
@@ -7418,7 +7418,7 @@ module OneM2M_Testcases_CSE_Release_1 {
 							  //Check attribute 1
 							 if(ispresent(v_responsePrimitive.primitiveContent)) {
 								 if(ischosen(v_responsePrimitive.primitiveContent.subscription)) {
-									 if(v_responsePrimitive.primitiveContent.subscription.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.node.accessControlPolicyIDs)){
+									 if(v_responsePrimitive.primitiveContent.subscription.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.subscription.accessControlPolicyIDs)){
 										 setverdict(fail, __SCOPE__, ": Error: Access Control Policy IDs attribute not updated correctly")
 									 }
 								 }
@@ -7427,7 +7427,7 @@ module OneM2M_Testcases_CSE_Release_1 {
 	 
 							  //Check that the resource has been udpated correctly
 							  if(ischosen(v_primitiveContentRetrieveResource.subscription)) {
-							   if(v_primitiveContentRetrieveResource.subscription.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.node.accessControlPolicyIDs)){
+							   if(v_primitiveContentRetrieveResource.subscription.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.subscription.accessControlPolicyIDs)){
 								setverdict(fail, __SCOPE__ & ": Error: Access Control Policy IDs attribute not updated correctly")
 							  }
 							}
@@ -7521,7 +7521,7 @@ module OneM2M_Testcases_CSE_Release_1 {
 							 //Check attribute 1
 							 if(ispresent(v_responsePrimitive.primitiveContent)) {
 								 if(ischosen(v_responsePrimitive.primitiveContent.group_)) {
-									 if(v_responsePrimitive.primitiveContent.group_.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.node.accessControlPolicyIDs)){
+									 if(v_responsePrimitive.primitiveContent.group_.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.group_.accessControlPolicyIDs)){
 										 setverdict(fail, __SCOPE__, ": Error: Access Control Policy IDs attribute not updated correctly")
 									 }
 								 }
@@ -7530,7 +7530,7 @@ module OneM2M_Testcases_CSE_Release_1 {
  
 							//Check that the resource has been udpated correctly
 							  if(ischosen(v_primitiveContentRetrieveResource.group_)) {
-							   if(v_primitiveContentRetrieveResource.group_.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.node.accessControlPolicyIDs)){
+							   if(v_primitiveContentRetrieveResource.group_.accessControlPolicyIDs != valueof(v_updateRequestPrimitive.primitiveContent.group_.accessControlPolicyIDs)){
 								setverdict(fail, __SCOPE__ & ": Error: Access Control Policy IDs attribute not updated correctly")
 							  }
 							}
-- 
GitLab