From e82599233fa579f665c62636389ab2dc27b10d2a Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sun, 27 Sep 2026 20:10:39 +0200 Subject: Link ride detail official climbs to climb detail --- web/server_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'web/server_test.go') diff --git a/web/server_test.go b/web/server_test.go index 440ac5f..c468e4b 100644 --- a/web/server_test.go +++ b/web/server_test.go @@ -326,6 +326,7 @@ func TestHandlerCreatesOfficialClimbFromRoutePoints(t *testing.T) { body := getResponse.Body.String() assert.Contains(t, body, "Official climb saved and matched to this ride by coordinates.") assert.Contains(t, body, "data-official-climb-card") + assert.Contains(t, body, fmt.Sprintf(`href="/climbs/%d"`, climbs[0].ID)) assert.Contains(t, body, "Length") assert.Contains(t, body, "Cotacol") assert.Contains(t, body, "Avg slope") -- cgit v1.3