---
  test_name: Hivemind bridge_api.get_relationship_between_accounts account 2 invalid

  marks:
    - patterntest
    - negative

  includes:
    - !include ../../common.yaml

  stages:
    - name: get_relationship_between_accounts account 2 invalid
      request:
        url: "{service.proto:s}://{service.server:s}:{service.port}/"
        method: POST
        headers:
          content-type: application/json
        json:
          jsonrpc: "2.0"
          id: 1
          method: "bridge.get_relationship_between_accounts"
          params: {"account1": "gtg", "account2": "invalid_account"}
      response:
        status_code: 200
        verify_response_with:
          function: validate_response:compare_response_with_pattern
          extra_kwargs:
            method: "account2_invalid"
            directory: "bridge_api_negative/get_relationship_between_accounts"
            error_response: true
