Commit 43cea6a7 authored by Benoit Orihuela's avatar Benoit Orihuela
Browse files

fix(010_02): expected error is invalid request when JSON is not valid

parent 20e51596
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,6 +43,6 @@ Append entity attributes with invalid entity fragments
    Check Response Status Code    201    ${response['status']}
    Append Entity Attributes Using Session    ${entity_id}    ${invalid_fragment_filename}    ${CONTENT_TYPE_LD_JSON}    ${EMPTY}
    Check RL Response Status Code Set To    ${status_code}
    Check Response Body Type When Using Session Request    ${response.json()}    ${ERROR_TYPE_BAD_REQUEST_DATA}
    Check Response Body Type When Using Session Request    ${response.json()}    ${ERROR_TYPE_INVALID_REQUEST}
    Check Response Body Title When Using Session Request    ${response.json()}
    [Teardown]    Delete Entity by Id Returning Response    ${entity_id}