Commit 47065dd3 authored by Benoit Orihuela's avatar Benoit Orihuela
Browse files

chore: remove duplicate method to check response status code with rf-requests lib

parent 2f84900c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,6 +18,6 @@ Create Entity With Invalid Request Scenarios

    Request Entity From File   ${filename}

    Check RL Response Status Code Set To Expected Code    400
    Check RL Response Status Code Set To    400
    Check RL Response Body Containing ProblemDetails Element Containing Type Element set to      ${response}     ${ERROR_TYPE_BAD_REQUEST_DATA}
    Check RL Response Body Containing ProblemDetails Element Containing Title Element    ${response}
 No newline at end of file
+0 −4
Original line number Diff line number Diff line
@@ -20,10 +20,6 @@ Check Response Status Code Set To
    ${response_status}=  convert to string  ${response['status']}
    Should Be Equal  ${response_status}  ${expected_status}

Check RL Response Status Code Set To Expected Code
    [Arguments]  ${expected_status}
    Status Should Be    ${expected_status}     ${response}

Check RL Response Status Code Set To
    [Arguments]  ${expected_status}
    Status Should Be    ${expected_status}     ${response}