We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dd6437 commit baf71faCopy full SHA for baf71fa
1 file changed
tests/integration/lambda/test_app_running_as_lambda.py
@@ -352,6 +352,7 @@ def test_given_nhs_number_key_present_in_headers_have_no_value_results_in_error_
352
invoke_url = f"{api_gateway_endpoint}/patient-check/{persisted_person}"
353
response = httpx.get(
354
invoke_url,
355
+ headers={"nhs-login-nhs-number": ""},
356
timeout=10,
357
)
358
@@ -360,7 +361,6 @@ def test_given_nhs_number_key_present_in_headers_have_no_value_results_in_error_
360
361
response,
362
is_response()
363
.with_status_code(HTTPStatus.FORBIDDEN)
- .with_headers(has_entries({"Content-Type": "application/fhir+json", "nhs-login-nhs-number": None}))
364
.and_body(
365
is_json_that(
366
has_entries(
0 commit comments