Fix Run Create Policy Post Request in testsuite 62/140362/1
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Tue, 4 Mar 2025 08:56:22 +0000 (09:56 +0100)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Tue, 4 Mar 2025 08:56:22 +0000 (09:56 +0100)
- change assertion to expect a 201 response code

Issue-ID: INT-2296
Change-Id: I5c8b9d50713597dc534004bbc2409664fc4bfe29
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
robot/resources/policy_interface.robot

index 3fb25bf..8e87085 100644 (file)
@@ -168,7 +168,7 @@ Run Create Policy Post Request
      ${resp}=   Post Request    policy   ${POLICY_CREATE_POLICY_URI}     data=${json_policy}    headers=${headers}
      Log    Received response from policy ${resp.text}
      [Return]    ${resp}
-     Should Be Equal As Strings    ${resp.status_code}     200
+     Should Be Equal As Strings    ${resp.status_code}     201
 
 Run Get Policy Get Request
      [Documentation]    Runs Get Policy request