diff --git a/tests/app/main/views/test_security_policy.py b/tests/app/main/views/test_security_policy.py index 61620516d..456724cfa 100644 --- a/tests/app/main/views/test_security_policy.py +++ b/tests/app/main/views/test_security_policy.py @@ -11,6 +11,6 @@ import pytest def test_security_policy_redirects_to_policy(client_request, url): client_request.get_url( url, - _expected_status=302, - _expected_redirect="https://vdp.cabinetoffice.gov.uk/.well-known/security.txt", + _test_page_title=False, + _expected_status=200, )