Skip to content

Commit

Permalink
fix(tavern):[#503] deleting tests witht lookupBPNs
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-kgassner committed May 22, 2024
1 parent b9cb265 commit 591a0dd
Showing 1 changed file with 0 additions and 107 deletions.
107 changes: 0 additions & 107 deletions local/testing/api-tests/irs-api-tests.tavern.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2505,113 +2505,6 @@ stages:
content-type: application/json


---

# lookupBPNs are deprecated and no longer used
# test_name: Make sure IRS-jobs are running without BPN-lookups by default

# strict:
# - headers:off
# - json:off

# stages:
# - name: create a job and check for success
# request:
# url: "{tavern.env_vars.IRS_HOST}/irs/jobs"
# json:
# key:
# globalAssetId: "{tavern.env_vars.GLOBAL_ASSET_ID_AS_BUILT}"
# bpn: "{tavern.env_vars.BPN_AS_BUILT}"
# collectAspects: false
# depth: 1
# direction: "downward"
# method: POST
# headers:
# content-type: application/json
# $ext:
# function: local.testing.api-tests.tavern_helpers:create_api_key
# response:
# status_code: 201
# headers:
# content-type: application/json
# save:
# json:
# job_id: id

# - *verify_job_is_running_and_wait_up_to_15_minutes_for_COMPLETED

# - name: verify job response with desired test steps
# request:
# url: "{tavern.env_vars.IRS_HOST}/irs/jobs/{job_id}"
# params:
# returnUncompletedJob: true
# method: GET
# headers:
# content-type: application/json
# $ext:
# function: local.testing.api-tests.tavern_helpers:create_api_key
# response:
# status_code: 200
# verify_response_with:
# - function: local.testing.api-tests.tavern_helpers:bpns_are_empty
# headers:
# content-type: application/json


---

# lookupBPNs are deprecated and no longer used
#test_name: Make sure IRS-jobs are running with BPN-lookups correctly
#
#strict:
# - headers:off
# - json:off
#
#stages:
# - name: create a job and wait
# request:
# url: "{tavern.env_vars.IRS_HOST}/irs/jobs"
# json:
# key:
# globalAssetId: "{tavern.env_vars.GLOBAL_ASSET_ID_AS_BUILT}"
# bpn: "{tavern.env_vars.BPN_AS_BUILT}"
# collectAspects: false
# lookupBPNs: false
# depth: 1
# direction: "downward"
# method: POST
# headers:
# content-type: application/json
# $ext:
# function: local.testing.api-tests.tavern_helpers:create_api_key
# response:
# status_code: 201
# headers:
# content-type: application/json
# save:
# json:
# job_id: id
#
# - *verify_job_is_running_and_wait_up_to_15_minutes_for_COMPLETED
#
# - name: verify job response with desired test steps
# request:
# url: "{tavern.env_vars.IRS_HOST}/irs/jobs/{job_id}"
# params:
# returnUncompletedJob: true
# method: GET
# headers:
# content-type: application/json
# $ext:
# function: local.testing.api-tests.tavern_helpers:create_api_key
# response:
# status_code: 200
# verify_response_with:
# - function: local.testing.api-tests.tavern_helpers:bpns_are_not_empty
# headers:
# content-type: application/json


---

#lookupBPNs are deprecated and no longer used
Expand Down

0 comments on commit 591a0dd

Please sign in to comment.