Skip to content

Commit

Permalink
Fix expected response for invalid access attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Nov 22, 2024
1 parent 4919724 commit 08227d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/test/test_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}",
Expand Down

0 comments on commit 08227d4

Please sign in to comment.