Skip to content

Commit

Permalink
alignments_with_commonalities_r2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroDiez committed Jan 24, 2025
1 parent 1d9905f commit 6bf8533
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Feature: CAMARA Blockchain Public Address API, v0.2 - Operation bindBlockchainPu
# * A phone number and several blockchainPublicAddress in order to be able to perform bindings
#
#
# References to OAS spec schemas refer to schemas specifies in blockchain-public-address.yaml, version 0.2.0
# References to OAS spec schemas refer to schemas specifies in blockchain-public-address.yaml, version 0.2.0-rc.1

Background: Common bindBlockchainPublicAddress setup
Given the resource "/blockchain-public-address/v0.2/blockchain-public-addresses"
Given the resource "/blockchain-public-address/v0.2rc1/blockchain-public-addresses"
And the header "Content-Type" is set to "application/json"
And the header "Authorization" is set to a valid access token
And the header "x-correlator" is set to a UUID value
Expand Down Expand Up @@ -133,7 +133,7 @@ Feature: CAMARA Blockchain Public Address API, v0.2 - Operation bindBlockchainPu

@bind_blockchain_public_address_C02.01_phone_number_not_schema_compliant
Scenario: Phone number value does not comply with the schema
Given the header "Authorization" is set to a valid access which does not identify a single phone number
Given the header "Authorization" is set to a valid access token which does not identify a single phone number
And the request body property "$.phoneNumber" does not comply with the OAS schema at "/components/schemas/PhoneNumber"
When the HTTP "POST" request is sent
Then the response status code is 400
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Feature: CAMARA Blockchain Public Address API, v0.2 - Operation deleteBlockchain
# * A phone number with several existing bindings to be able to perform unbindings
#
#
# References to OAS spec schemas refer to schemas specifies in blockchain-public-address.yaml, version 0.2.0
# References to OAS spec schemas refer to schemas specifies in blockchain-public-address.yaml, version 0.2.0-rc.1

Background: Common deleteBlockchainPublicAddress setup
Given the resource "/blockchain-public-address/v0.2/blockchain-public-addresses/{id}"
Given the resource "/blockchain-public-address/v0.2rc1/blockchain-public-addresses/{id}"
And the header "Content-Type" is set to "application/json"
And the header "Authorization" is set to a valid access token
And the header "x-correlator" is set to a UUID value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Feature: CAMARA Blockchain Public Address API, v0.2 - Operation retrieveBlockcha
# * A phone number with several existing bindings to be able to perform queries
#
#
# References to OAS spec schemas refer to schemas specifies in blockchain-public-address.yaml, version 0.2.0
# References to OAS spec schemas refer to schemas specifies in blockchain-public-address.yaml, version 0.2.0-rc.1

Background: Common retrieveBlockchainPublicAddress setup
Given the resource "/blockchain-public-address/v0.2//blockchain-public-addresses/retrieve-blockchains"
Given the resource "/blockchain-public-address/v0.2rc1/blockchain-public-addresses/retrieve-blockchains"
And the header "Content-Type" is set to "application/json"
And the header "Authorization" is set to a valid access token
And the header "x-correlator" is set to a UUID value
Expand Down Expand Up @@ -59,7 +59,7 @@ Feature: CAMARA Blockchain Public Address API, v0.2 - Operation retrieveBlockcha

@retrieve_blockchain_public_address_C02.01_phone_number_not_schema_compliant
Scenario: Phone number value does not comply with the schema
Given the header "Authorization" is set to a valid access which does not identify a single phone number
Given the header "Authorization" is set to a valid access token which does not identify a single phone number
And the request body property "$.phoneNumber" does not comply with the OAS schema at "/components/schemas/PhoneNumber"
When the HTTP "POST" request is sent
Then the response status code is 400
Expand Down

0 comments on commit 6bf8533

Please sign in to comment.