From d1f7d3ac74d9c43f7fe9c7ce26f2379500b661ca Mon Sep 17 00:00:00 2001
From: root <root@DESKTOP-A5SJGL5.localdomain>
Date: Mon, 27 Jan 2020 12:36:28 +0500
Subject: [PATCH] bug-fixes

---
 SOL002/VNFFaultManagement-API/Subscriptions.robot             | 2 +-
 SOL003/VNFLifecycleManagement-API/IndividualVNFInstance.robot | 2 +-
 SOL003/VNFLifecycleOperationGranting-API/Grants.robot         | 3 ---
 SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot | 2 +-
 4 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/SOL002/VNFFaultManagement-API/Subscriptions.robot b/SOL002/VNFFaultManagement-API/Subscriptions.robot
index 718ed29b..f3c2f078 100644
--- a/SOL002/VNFFaultManagement-API/Subscriptions.robot
+++ b/SOL002/VNFFaultManagement-API/Subscriptions.robot
@@ -292,6 +292,6 @@ Check HTTP Response Body Json Schema Is
 Check resource existance
     Set Headers    {"Accept":"${ACCEPT}"}
     Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
-    Get    ${apiRoot}/${apiName}/${apiVersion}/subscriptions//${response['body']['id']}
+    Get    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${response['body']['id']}
     Integer    response status    200
 
diff --git a/SOL003/VNFLifecycleManagement-API/IndividualVNFInstance.robot b/SOL003/VNFLifecycleManagement-API/IndividualVNFInstance.robot
index f60fef9e..1fd4b2c0 100644
--- a/SOL003/VNFLifecycleManagement-API/IndividualVNFInstance.robot
+++ b/SOL003/VNFLifecycleManagement-API/IndividualVNFInstance.robot
@@ -67,7 +67,7 @@ PATCH Individual VNFInstance Precondition failed
      [Documentation]    Test ID: 7.3.1.2.5
     ...    Test title: PATCH Individual VNFInstance Precondition failed
     ...    Test objective: The objective is to create a new VNF instance resource
-    ...    Pre-conditions:  VNF Instance created (Test ID 7.3.1.2.2)
+    ...    Pre-conditions:  VNF Instance is created (Test ID 7.3.1.2.2)
     ...    Reference: clause 5.4.3.3.4 - ETSI GS NFV-SOL 003 [1] v2.4.1
     ...    Config ID: Config_prod_VNFM
     ...    Applicability: 
diff --git a/SOL003/VNFLifecycleOperationGranting-API/Grants.robot b/SOL003/VNFLifecycleOperationGranting-API/Grants.robot
index c3e01243..061e24fb 100644
--- a/SOL003/VNFLifecycleOperationGranting-API/Grants.robot
+++ b/SOL003/VNFLifecycleOperationGranting-API/Grants.robot
@@ -178,9 +178,6 @@ Get an individual grant - Successful
     Get    ${response['headers']['Location']}
     Log    Validate Status code
     Integer    response status    200
-    ${result}    Output    response body
-    Validate Json    grant.schema.json    ${result}
-    Log    Validation OK
     
 Get Grants
     Log    Trying to perform a GET. This method should not be implemented
diff --git a/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot b/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot
index 7e9b0b31..00642dfa 100644
--- a/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot
+++ b/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot
@@ -35,7 +35,7 @@ Check Instance Deleted
     Set Headers    {"Content-Type": "${CONTENT_TYPE}"}
     Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
     Delete    ${apiRoot}/${apiName}/${apiVersion}/ns_instances/${nsInstanceId}
-    Integer    response status    400
+    Integer    response status    404
     
 Check Fail not supported
     Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
-- 
GitLab