Skip to content

Commit

Permalink
Rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslinnell committed Nov 27, 2024
1 parent 5f18255 commit 4188a8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/api/readDevice/tests/test_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@ def test_index_mhs_device_adjusted_data(version):

# Set up Device in DB
device: Device = cpm_product.create_device(name="Product-MHS")
device.add_key(key_type="interaction_id", key_value="F5H1R-850000:urn:foo")
device.add_key(key_type="interaction_id", key_value="F5H1R-850000:urn:foo2")
device.add_key(key_type="cpa_id", key_value="F5H1R-850000:urn:foo")
device.add_key(key_type="cpa_id", key_value="F5H1R-850000:urn:foo2")
device.add_tag(party_key="f5h1r-850000")

# set up spine mhs questionnaire response
Expand All @@ -363,8 +363,10 @@ def test_index_mhs_device_adjusted_data(version):
"MHS Is Authenticated": "PERSISTENT",
"Product Key": "product-key-001",
"Requestor URP": "requestor-789",
"MHS Manufacturer Organisation": "AAA",
}
)

device.add_questionnaire_response(spine_mhs_questionnaire_response)

device.add_device_reference_data_id(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Feature: Create AS Device - success scenarios
| questionnaire_responses.spine_mhs.0.Address | http://example.com |
| questionnaire_responses.spine_mhs.0.Unique Identifier | 123456 |
| questionnaire_responses.spine_mhs.0.Managing Organization | Example Org |
| questionnaire_responses.spine_mhs.0.MHS Manufacturer Organisation | AAA |
| questionnaire_responses.spine_mhs.0.MHS Party key | party-key-001 |
| questionnaire_responses.spine_mhs.0.MHS CPA ID | cpa-id-001 |
| questionnaire_responses.spine_mhs.0.Approver URP | approver-123 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ Feature: Read Device - success scenarios
| questionnaire_responses.spine_mhs.0.MHS Is Authenticated | PERSISTENT |
| questionnaire_responses.spine_mhs.0.Product Key | product-key-001 |
| questionnaire_responses.spine_mhs.0.Requestor URP | requestor-789 |
| questionnaire_responses.spine_mhs.0.MHS Manufacturer Organisation | AAA |
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/AccreditedSystemsAdditionalInteractions" with body:
| path | value |
| questionnaire_responses.spine_as_additional_interactions.0.Interaction ID | urn:nhs:names:services:ers:READ_PRACTITIONER_ROLE_R4_V002 |
Expand Down

0 comments on commit 4188a8d

Please sign in to comment.