From b5979be3371f7647182e9f63fb1e26d4795ec39c Mon Sep 17 00:00:00 2001
From: "a.sreekumar" <ajith.sreekumar@bell.ca>
Date: Thu, 18 Feb 2021 15:51:32 +0000
Subject: Update CSIT to check for 202 response during PAP Deployment

Change-Id: I947207f10cfd3bc54193ee7c8d356ad40587f072
Issue-ID: POLICY-2526
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
---
 csit/tests/apex-pdp-test.robot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'csit/tests')

diff --git a/csit/tests/apex-pdp-test.robot b/csit/tests/apex-pdp-test.robot
index 9fdbc12e6..54838a399 100644
--- a/csit/tests/apex-pdp-test.robot
+++ b/csit/tests/apex-pdp-test.robot
@@ -48,7 +48,7 @@ DeployPolicy
      ${resp}=   Post Request   policy  /policy/pap/v1/pdps/deployments/batch  data=${postjson}   headers=${headers}
      Log    Received response from policy5 ${resp.text}
      ${postjsonobject}   To Json    ${postjson}
-     Should Be Equal As Strings    ${resp.status_code}     200
+     Should Be Equal As Strings    ${resp.status_code}     202
 
 RunEventOnApexEngine
     Create Session   apexSession  http://${APEX_IP}:23324   max_retries=1
-- 
cgit 1.2.3-korg