feat: show ordered tackle components
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user