Skip to content

Commit

Permalink
Fix test that still expected old 404 detail
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Nov 26, 2024
1 parent ac14949 commit 25ec757
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 @@ -766,7 +766,7 @@ def test_list_public_collections(
# Try listing public collections without org public profile enabled
r = requests.get(f"{API_PREFIX}/public-collections/{org_slug}")
assert r.status_code == 404
assert r.json()["detail"] == "public_collections_not_found"
assert r.json()["detail"] == "public_profile_not_found"

# Enable public profile on org
public_description = "This is a test public org!"
Expand Down

0 comments on commit 25ec757

Please sign in to comment.