From 08227d4601461e4253ca633e11de782376c814f8 Mon Sep 17 00:00:00 2001 From: Tessa Walsh Date: Fri, 22 Nov 2024 11:15:10 -0500 Subject: [PATCH] Fix expected response for invalid access attempt --- backend/test/test_collections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/test/test_collections.py b/backend/test/test_collections.py index 32704aeb7..9be94f724 100644 --- a/backend/test/test_collections.py +++ b/backend/test/test_collections.py @@ -373,7 +373,7 @@ def test_collection_access_invalid_value(crawler_auth_headers, default_org_id): "access": "invalid", }, ) - assert r.status_code == 400 + assert r.status_code == 422 r = requests.get( f"{API_PREFIX}/orgs/{default_org_id}/collections/{_coll_id}",