From e111409704147b9c09bab01f358ce420246f550e Mon Sep 17 00:00:00 2001 From: Michal Charemza Date: Tue, 11 Feb 2025 13:21:26 +0000 Subject: [PATCH] fixup --- django_app/tests/views/test_api_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_app/tests/views/test_api_views.py b/django_app/tests/views/test_api_views.py index 6d757caa..364bbb76 100644 --- a/django_app/tests/views/test_api_views.py +++ b/django_app/tests/views/test_api_views.py @@ -36,7 +36,7 @@ def test_api_view_fail(path_name: str, client: Client): # Then assert response.status_code == HTTPStatus.FORBIDDEN - assert response.json() == {"detail": "Authentication credentials were not provided."} + assert response.json() == {"detail": "No API key provided"} @pytest.mark.django_db()