feat: add method and risk to fishing plans

This commit is contained in:
ik
2026-09-21 07:34:32 +07:00
parent 36d704d854
commit 3b4557b549
8 changed files with 18 additions and 9 deletions
+1
View File
@@ -269,6 +269,7 @@ def test_spot_detail_and_catches() -> None:
assert catches.status_code == 200
assert len(catches.json()) == 3
assert catches.json()[0]["source_system"] == "manual-import"
assert catches.json()[0]["fishing_method"] == "spinning"
resolved = client.get("/api/v1/spots/resolve?waterbody=test-lake&x=10&y=20")
assert resolved.status_code == 200
assert resolved.json()["id"] == spot_id