diff --git a/tests/app/main/views/test_choose_services.py b/tests/app/main/views/test_choose_services.py index 7f99c2e26..b23ffff93 100644 --- a/tests/app/main/views/test_choose_services.py +++ b/tests/app/main/views/test_choose_services.py @@ -61,7 +61,7 @@ def test_should_redirect_if_not_logged_in(app_): with app_.test_client() as client: response = client.get(url_for('main.show_all_services_or_dashboard')) assert response.status_code == 302 - assert response.location == url_for('main.index', _external=True) + assert url_for('main.sign_in', _external=True) in response.location def test_should_show_all_services_for_platform_admin_user(app_,