Commit a7e61db1 authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix on schemas. Removed to definitions

parent 5fa626b5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ Library DependencyLibrary
${Etag}=    an etag
${Etag_modified}=    a modified etag

*** Test cases ***
*** Test Cases ***
POST Configuration - Method not implemented
    log    Trying to perform a POST. This method should not be implemented
    Set Headers  {"Accept":"${ACCEPT}"}  
@@ -66,7 +66,7 @@ PATCH Config - Precondition failed
    [Documentation]    Precondition Failed
    ...    Precondition Failed A precondition given in an HTTP request header is not fulfilled. 
    ...    Typically, this is due to an ETag mismatch, indicating that the resource was modified by another entity. 
    ...    The response body should contain a ProblemDetails structure, in which the detail attribute should convey more information about the error.
    ...    The response body should contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
    Depends On Test    PATCH Alarm    # If the previous test scceeded, it means that Etag has been modified
    log    Trying to perform a PATCH. This method modifies an individual alarm resource
    Set Headers  {"Accept":"${ACCEPT}"} 
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ Create a new Subscription - DUPLICATION
    Should Contain    ${contentType}    ${CONTENT_TYPE}
    ${result}=    Output    response body
    ${json}=    evaluate    json.loads('''${result}''')    json
    Validate Json    FmSubscriptions.schema.json    ${json}
    Validate Json    FmSubscription.schema.json    ${json}
    Log    Validation OK

Create a new Subscription - NO-DUPLICATION
Loading