---
  test_name: Hived database_api.verify_authority

  marks:
    - patterntest
    - xfail # verify and test false
  includes:
    - !include ../../common.yaml

  stages:
    - name: database_api.verify_authority
      request:
        url: "{service.url:s}"
        method: POST
        headers:
          content-type: application/json
        json:
          jsonrpc: "2.0"
          id: 1
          method: "database_api.verify_authority"
          params: {
            "trx": {
              "ref_block_num": 120,
              "ref_block_prefix": 550,
              "expiration": "1970-01-01T00:00:00",
              "operations": [ ],
              "extensions": [ ],
              "signatures": [ ]
            }
          }
      response:
        status_code: 200
        verify_response_with:
          function: validate_response:compare_response_with_pattern
          extra_kwargs:
            method: "false"
            directory: "database_api_patterns/verify_authority"