feat: show ordered tackle components

This commit is contained in:
ik
2026-09-21 08:13:37 +07:00
parent c5f9aa85a0
commit 852e68d9a5
4 changed files with 7 additions and 4 deletions
+1
View File
@@ -276,6 +276,7 @@ def test_spot_detail_and_catches() -> None:
assert len(catches.json()) == 3
assert catches.json()[0]["source_system"] == "manual-import"
assert catches.json()[0]["fishing_method"] == "spinning"
assert catches.json()[0]["tackle_components"] == []
fixture = client.get("/api/v1/spots/resolve?waterbody=test-lake&x=10&y=20")
assert fixture.status_code == 200
fixture_catches = client.get(f"/api/v1/spots/{fixture.json()['id']}/catches")