Update SDNC Naming policy in xacml csit 14/106814/1
authorJim Hahn <jrh3@att.com>
Wed, 29 Apr 2020 15:14:31 +0000 (11:14 -0400)
committerJim Hahn <jrh3@att.com>
Wed, 29 Apr 2020 15:15:10 +0000 (11:15 -0400)
Issue-ID: POLICY-2525
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: Id466c6a113bfff087e4dd9d594e5f286f108a73c

tests/policy/xacml-pdp/xacml-pdp-test.robot

index 931c77b..250e01f 100644 (file)
@@ -151,7 +151,7 @@ GetNamingDecision
      ${headers}=  Create Dictionary     Accept=application/json    Content-Type=application/json
      ${resp}=   Post Request     policy  /policy/pdpx/v1/decision  data=${postjson}   headers=${headers}
      Log    Received response from policy ${resp.text}
-     ${policy}=    Get From Dictionary    ${resp.json()['policies']}   SDNC_Policy.ONAP_VNF_NAMING_TIMESTAMP
+     ${policy}=    Get From Dictionary    ${resp.json()['policies']}   SDNC_Policy.ONAP_NF_NAMING_TIMESTAMP
      Should Be Equal As Strings    ${resp.status_code}     200
      Dictionary Should Contain Key    ${policy}    type
      Dictionary Should Contain Key    ${policy}    type_version